5f9adf2f98e767e346339adf045e01d19277bcc6,tests/python/pants_test/engine/test_isolated_process.py,IsolatedProcessTest,test_fallible_failing_command_returns_exited_result,#IsolatedProcessTest#,383
Before Change
self.assertIn("NOT VALID JAVA", e.stderr)
def test_fallible_failing_command_returns_exited_result(self):
scheduler = self.mk_scheduler_in_example_fs(())
request = ExecuteProcessRequest.create_with_empty_snapshot(
argv=("/bin/bash", "-c", "exit 1"),
description="one-cat",
)
result = self.execute_expecting_one_result(scheduler, FallibleExecuteProcessResult, request).value
self.assertEquals(result.exit_code, 1)
def test_non_fallible_failing_command_raises(self):
After Change
description="one-cat",
)
result = self.scheduler.product_request(FallibleExecuteProcessResult, [request])[0]
self.assertEquals(result.exit_code, 1)
def test_non_fallible_failing_command_raises(self):
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 10
Instances
Project Name: pantsbuild/pants
Commit Name: 5f9adf2f98e767e346339adf045e01d19277bcc6
Time: 2018-07-26
Author: dawagner@gmail.com
File Name: tests/python/pants_test/engine/test_isolated_process.py
Class Name: IsolatedProcessTest
Method Name: test_fallible_failing_command_returns_exited_result
Project Name: pantsbuild/pants
Commit Name: 5f9adf2f98e767e346339adf045e01d19277bcc6
Time: 2018-07-26
Author: dawagner@gmail.com
File Name: tests/python/pants_test/engine/test_isolated_process.py
Class Name: IsolatedProcessTest
Method Name: test_write_file
Project Name: pantsbuild/pants
Commit Name: 5f9adf2f98e767e346339adf045e01d19277bcc6
Time: 2018-07-26
Author: dawagner@gmail.com
File Name: tests/python/pants_test/engine/test_isolated_process.py
Class Name: IsolatedProcessTest
Method Name: test_javac_compilation_example_success
Project Name: pantsbuild/pants
Commit Name: 5f9adf2f98e767e346339adf045e01d19277bcc6
Time: 2018-07-26
Author: dawagner@gmail.com
File Name: tests/python/pants_test/engine/test_isolated_process.py
Class Name: IsolatedProcessTest
Method Name: test_fallible_failing_command_returns_exited_result