Increase timeout for timedmutex_test:mutex2, timedmutex_test:mutex3

tests.

Default value is 300. It takes ~310s to complete each of these tests
in QEMU/RISC-V.

Sponsored by:	DARPA, AFRL
This commit is contained in:
Ruslan Bukin 2018-08-06 15:55:58 +00:00
parent b17f3d298d
commit 7db2360401

View File

@ -153,6 +153,12 @@ ATF_TC_HEAD(mutex2, tc)
atf_tc_set_md_var(tc, "timeout", "40"); atf_tc_set_md_var(tc, "timeout", "40");
#endif #endif
#endif #endif
#ifdef __FreeBSD__
#if defined(__riscv)
atf_tc_set_md_var(tc, "timeout", "600");
#endif
#endif
} }
ATF_TC_BODY(mutex2, tc) ATF_TC_BODY(mutex2, tc)
{ {
@ -230,6 +236,12 @@ ATF_TC_HEAD(mutex3, tc)
atf_tc_set_md_var(tc, "timeout", "40"); atf_tc_set_md_var(tc, "timeout", "40");
#endif #endif
#endif #endif
#ifdef __FreeBSD__
#if defined(__riscv)
atf_tc_set_md_var(tc, "timeout", "600");
#endif
#endif
} }
ATF_TC_BODY(mutex3, tc) ATF_TC_BODY(mutex3, tc)
{ {