Skip to content

Commit c3f5c6f

Browse files
committed
Increase test timeout for CI env.
1 parent 62959a7 commit c3f5c6f

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

test/test_interrupt/InterruptTestCases.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,10 @@ void testInterruptSupportMarshalling() {
7474
// now pretend the interrupt took place.
7575
interruptAbs.runInterrupt();
7676

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

8082
// and the pin should be 2
8183
TEST_ASSERT_EQUAL(2, pinNo);

0 commit comments

Comments
 (0)