4de08d613d9e70a53951b3ca2869835af6fd7b32,tests/python/pants_test/rules/test_test_integration.py,TestIntegrationTest,test_mixed_python_tests,#TestIntegrationTest#,96
Before Change
@unittest.skip("Flaky test: https://github.com/pantsbuild/pants/issues/6782")
def test_mixed_python_tests(self):
args = [
"--no-v1",
"--v2",
"test",
"testprojects/tests/python/pants/dummies:failing_target",
"testprojects/tests/python/pants/dummies:passing_target",
]
pants_run = self.run_pants(args)
self.assert_failure(pants_run)
self.assertEqual("", pants_run.stderr_data)
self.assertEqual(pants_run.returncode, 1)
self.assert_fuzzy_string_match(
After Change
@unittest.skip("Flaky test: https://github.com/pantsbuild/pants/issues/6782")
def test_mixed_python_tests(self):
pants_run = self.run_failing_pants_test([
"testprojects/tests/python/pants/dummies:failing_target",
"testprojects/tests/python/pants/dummies:passing_target",
])
self.assert_fuzzy_string_match(
pants_run.stdout_data, \
============================= test session starts ==============================
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: pantsbuild/pants
Commit Name: 4de08d613d9e70a53951b3ca2869835af6fd7b32
Time: 2018-12-14
Author: 1305167+cosmicexplorer@users.noreply.github.com
File Name: tests/python/pants_test/rules/test_test_integration.py
Class Name: TestIntegrationTest
Method Name: test_mixed_python_tests
Project Name: pantsbuild/pants
Commit Name: 4de08d613d9e70a53951b3ca2869835af6fd7b32
Time: 2018-12-14
Author: 1305167+cosmicexplorer@users.noreply.github.com
File Name: tests/python/pants_test/rules/test_test_integration.py
Class Name: TestIntegrationTest
Method Name: test_passing_python_test
Project Name: pantsbuild/pants
Commit Name: 4de08d613d9e70a53951b3ca2869835af6fd7b32
Time: 2018-12-14
Author: 1305167+cosmicexplorer@users.noreply.github.com
File Name: tests/python/pants_test/rules/test_test_integration.py
Class Name: TestIntegrationTest
Method Name: test_failing_python_test