Skip to content

Commit

Permalink
Increase test timeout for CI env.
Browse files Browse the repository at this point in the history
  • Loading branch information
davetcc committed Aug 17, 2024
1 parent 62959a7 commit c3f5c6f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test/test_interrupt/InterruptTestCases.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,10 @@ void testInterruptSupportMarshalling() {
// now pretend the interrupt took place.
interruptAbs.runInterrupt();

// and wait for task manager to schedule.
fixture.assertThatTaskRunsOnTime(0, 250);
// and wait for task manager to schedule. Note that the delay is very large, this is because the test is running
// on CI where the time to handle such an interrupt on an emulator will be more significant, we are not testing
// performance, rather functionality.
fixture.assertThatTaskRunsOnTime(0, 1500);

// and the pin should be 2
TEST_ASSERT_EQUAL(2, pinNo);
Expand Down

0 comments on commit c3f5c6f

Please sign in to comment.