Skip to content

Commit 827af38

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 <[email protected]>
1 parent b79839e commit 827af38

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1060,7 +1060,8 @@ 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,
1064+
config_set(CONFIG_KERNEL_MCS) && !config_set(CONFIG_SIMULATION))
10641065

10651066
static void vm_enter(void)
10661067
{

0 commit comments

Comments
 (0)