Skip to content

Commit

Permalink
Added more slow/sandbox tags
Browse files Browse the repository at this point in the history
  • Loading branch information
James Perretta committed Aug 22, 2024
1 parent 44328f6 commit 163f26b
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -664,6 +664,7 @@ def test_rerun_with_setup_command_removed(self, *args) -> None:
self.assertFalse(suite_result.setup_timed_out)


@tag('slow', 'sandbox')
@mock.patch('autograder.utils.retry.sleep')
class NoRetryOnObjectNotFoundTestCase(TransactionUnitTestBase):
def test_ag_test_suite_not_found_no_retry(self, sleep_mock) -> None:
Expand Down Expand Up @@ -779,6 +780,7 @@ def test_ag_test_case_result_not_found_no_retry(self, sleep_mock) -> None:
sleep_mock.assert_not_called()


@tag('slow', 'sandbox')
@mock.patch('autograder.utils.retry.sleep')
class GradeAGTestSuiteCallbacksTestCase(TransactionUnitTestBase):
def setUp(self):
Expand Down Expand Up @@ -863,6 +865,7 @@ def test_ag_test_case_finished_callback(self, *args) -> None:
self.assertEqual(self.submission, case_result.ag_test_suite_result.submission)


@tag('slow', 'sandbox')
@mock.patch('autograder.utils.retry.sleep')
class GradeAGTestSuiteTeardownErrorHandlingTestCase(TransactionUnitTestBase):
def setUp(self):
Expand Down

0 comments on commit 163f26b

Please sign in to comment.