Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
EnricoMi committed Sep 22, 2023
1 parent 37131e3 commit d9787f8
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions python/test/test_junit.py
Original file line number Diff line number Diff line change
Expand Up @@ -412,11 +412,11 @@ def test_process_parse_junit_xml_files_with_test_file_prefix(self):
suite_time=2,
suite_details=[],
cases=[
UnitTestCase(result_file='/home/enrico/Work/git/publish-unit-test-result-action/python/test/files/junit-xml/pytest/junit.fail.xml', test_file=test_file, line=1412, class_name='test.test_spark.SparkTests', test_name='test_check_shape_compatibility', result='success', message=None, content=None, stdout=None, stderr=None, time=6.435),
UnitTestCase(result_file='/home/enrico/Work/git/publish-unit-test-result-action/python/test/files/junit-xml/pytest/junit.fail.xml', test_file=test_file, line=1641, class_name='test.test_spark.SparkTests', test_name='test_get_available_devices', result='skipped', message='get_available_devices only supported in Spark 3.0 and above', content='/horovod/test/test_spark.py:1642: get_available_devices only\n supported in Spark 3.0 and above\n ', stdout=None, stderr=None, time=0.001),
UnitTestCase(result_file='/home/enrico/Work/git/publish-unit-test-result-action/python/test/files/junit-xml/pytest/junit.fail.xml', test_file=test_file, line=1102, class_name='test.test_spark.SparkTests', test_name='test_get_col_info', result='success', message=None, content=None, stdout=None, stderr=None, time=6.417),
UnitTestCase(result_file='/home/enrico/Work/git/publish-unit-test-result-action/python/test/files/junit-xml/pytest/junit.fail.xml', test_file=test_file, line=819, class_name='test.test_spark.SparkTests', test_name='test_rsh_events', result='failure', message='self = <test_spark.SparkTests testMethod=test_rsh_events> def test_rsh_events(self): > self.do_test_rsh_events(3) test_spark.py:821: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_spark.py:836: in do_test_rsh_events self.do_test_rsh(command, 143, events=events) test_spark.py:852: in do_test_rsh self.assertEqual(expected_result, res) E AssertionError: 143 != 0', content='self = <test_spark.SparkTests testMethod=test_rsh_events>\n\n def test_rsh_events(self):\n > self.do_test_rsh_events(3)\n\n test_spark.py:821:\n _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _\n test_spark.py:836: in do_test_rsh_events\n self.do_test_rsh(command, 143, events=events)\n test_spark.py:852: in do_test_rsh\n self.assertEqual(expected_result, res)\n E AssertionError: 143 != 0\n ', stdout=None, stderr=None, time=7.541),
UnitTestCase(result_file='/home/enrico/Work/git/publish-unit-test-result-action/python/test/files/junit-xml/pytest/junit.fail.xml', test_file=test_file, line=813, class_name='test.test_spark.SparkTests', test_name='test_rsh_with_non_zero_exit_code', result='success', message=None, content=None, stdout=None, stderr=None, time=1.514)
UnitTestCase(result_file=result_file, test_file=test_file, line=1412, class_name='test.test_spark.SparkTests', test_name='test_check_shape_compatibility', result='success', message=None, content=None, stdout=None, stderr=None, time=6.435),
UnitTestCase(result_file=result_file, test_file=test_file, line=1641, class_name='test.test_spark.SparkTests', test_name='test_get_available_devices', result='skipped', message='get_available_devices only supported in Spark 3.0 and above', content='/horovod/test/test_spark.py:1642: get_available_devices only\n supported in Spark 3.0 and above\n ', stdout=None, stderr=None, time=0.001),
UnitTestCase(result_file=result_file, test_file=test_file, line=1102, class_name='test.test_spark.SparkTests', test_name='test_get_col_info', result='success', message=None, content=None, stdout=None, stderr=None, time=6.417),
UnitTestCase(result_file=result_file, test_file=test_file, line=819, class_name='test.test_spark.SparkTests', test_name='test_rsh_events', result='failure', message='self = <test_spark.SparkTests testMethod=test_rsh_events> def test_rsh_events(self): > self.do_test_rsh_events(3) test_spark.py:821: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_spark.py:836: in do_test_rsh_events self.do_test_rsh(command, 143, events=events) test_spark.py:852: in do_test_rsh self.assertEqual(expected_result, res) E AssertionError: 143 != 0', content='self = <test_spark.SparkTests testMethod=test_rsh_events>\n\n def test_rsh_events(self):\n > self.do_test_rsh_events(3)\n\n test_spark.py:821:\n _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _\n test_spark.py:836: in do_test_rsh_events\n self.do_test_rsh(command, 143, events=events)\n test_spark.py:852: in do_test_rsh\n self.assertEqual(expected_result, res)\n E AssertionError: 143 != 0\n ', stdout=None, stderr=None, time=7.541),
UnitTestCase(result_file=result_file, test_file=test_file, line=813, class_name='test.test_spark.SparkTests', test_name='test_rsh_with_non_zero_exit_code', result='success', message=None, content=None, stdout=None, stderr=None, time=1.514)
]
))

Expand Down

0 comments on commit d9787f8

Please sign in to comment.