X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Ftests%2Fthreads%2Falarm-simultaneous.c;h=844eea47f9cb2f4e3120fa68a60c54bb4c6c6c4e;hb=d4c30c6a386fe850e7eed1025e459fbc82a0b6e2;hp=7db54181e7042fc6466030f6b3c97080a0e96f82;hpb=045eca9809060c866876294e952dcb6d6e96ddeb;p=pintos-anon diff --git a/src/tests/threads/alarm-simultaneous.c b/src/tests/threads/alarm-simultaneous.c index 7db5418..844eea4 100644 --- a/src/tests/threads/alarm-simultaneous.c +++ b/src/tests/threads/alarm-simultaneous.c @@ -15,7 +15,7 @@ static void test_sleep (int thread_cnt, int iterations); void test_alarm_simultaneous (void) { - test_sleep (5, 5); + test_sleep (3, 5); } /* Information about the test. */ @@ -37,7 +37,7 @@ test_sleep (int thread_cnt, int iterations) int i; /* This test does not work with the MLFQS. */ - ASSERT (!enable_mlfqs); + ASSERT (!thread_mlfqs); msg ("Creating %d threads to sleep %d times each.", thread_cnt, iterations); msg ("Each thread sleeps 10 ticks each time.");