Skip to content

Commit

Permalink
Skip SIGINT/TERM tests with mpirun
Browse files Browse the repository at this point in the history
  • Loading branch information
gvoskuilen committed Aug 1, 2024
1 parent ba78f4d commit c079cfd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/testsuite_default_RealTime.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def test_RealTime_SIGUSR2(self):
self.assertTrue(exit_count >= num_para, "Exit message count incorrect, should be at least {0}, found {1} in {2}".format(exit_count,num_para,outfile))
self.assertTrue(line_count == num_lines, "Line count incorrect, should be {0}, found {1} in {2}".format(num_lines,line_count,outfile))

#@unittest.skipIf(testing_check_get_num_ranks() > 1, "This test does not run with MPI")
@unittest.skipIf(testing_check_get_num_ranks() > 1, "This test does not run reliably with mpirun")
def test_RealTime_SIGINT(self):
testsuitedir = self.get_testsuite_dir()
outdir = test_output_get_run_dir()
Expand Down Expand Up @@ -115,7 +115,7 @@ def test_RealTime_SIGINT(self):
self.assertTrue(exit_count == num_para, "Exit message count incorrect, should be {0}, found {1} in {2}".format(num_para,exit_count,outfile))
self.assertTrue(line_count == num_lines, "Line count incorrect, should be {0}, found {1} in {2}".format(num_lines,line_count,outfile))

#@unittest.skipIf(testing_check_get_num_ranks() > 1, "This test does not run with MPI")
@unittest.skipIf(testing_check_get_num_ranks() > 1, "This test does not run reliably with mpirun")
def test_RealTime_SIGTERM(self):
testsuitedir = self.get_testsuite_dir()
outdir = test_output_get_run_dir()
Expand Down

0 comments on commit c079cfd

Please sign in to comment.