catered for slow process switching in test-002.moo

This commit is contained in:
hyunghwan.chung 2017-12-14 02:27:51 +00:00
parent 5ea15c24bd
commit 27fa6fa560

View File

@ -114,7 +114,9 @@ class MyObject(Object)
[ self test_semaphore_heap == true ],
[ self test_mutex = #(2000 6000) ],
####[ self test_sem_sig ],
[ a == 300 ]
[ System sleepForSecs: 2. self.a == 300 ] ## sleep before checking self.a to prevent different result depending on process switching frequency and speed
).
limit := tc size.