Skip to content

Commit 5bf5a5d

Browse files
committed
Disable TIMEOUTFAULT0003 for simulation
It is very timing sensitive and relies on non-guaranteed ordering of timeout faults. In Qemu it faults about 1 in 10 times for me. Proper long-term fix is to make the test more robust by not assuming ordering of faults, but that requires rewriting a lot of the test code. Signed-off-by: Indan Zupancic <indan@nul.nu>
1 parent b79839e commit 5bf5a5d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/sel4test-tests/src/tests/faults.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1060,7 +1060,7 @@ static int test_timeout_fault_nested_servers(env_t env)
10601060

10611061
return sel4test_get_result();
10621062
}
1063-
DEFINE_TEST(TIMEOUTFAULT0003, "Nested timeout fault", test_timeout_fault_nested_servers, config_set(CONFIG_KERNEL_MCS))
1063+
DEFINE_TEST(TIMEOUTFAULT0003, "Nested timeout fault", test_timeout_fault_nested_servers, config_set(CONFIG_KERNEL_MCS) && !config_set(CONFIG_SIMULATION))
10641064

10651065
static void vm_enter(void)
10661066
{

0 commit comments

Comments
 (0)