ci: reduce repetitions in test_global_mutex in init_global_test.v

With the old number of repetitions (2500000), that test alone could take over
30 seconds, in the CI environment.
pull/13899/head
Delyan Angelov 2022-04-01 19:23:04 +03:00
parent 6987f2c087
commit 9d2529b611
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED
1 changed files with 1 additions and 1 deletions

View File

@ -168,7 +168,7 @@ fn switch2() u64 {
fn test_global_mutex() {
assert f1 == 34.0625
t := go switch2()
for _ in 0 .. 2500000 {
for _ in 0 .. 25000 {
mtx.@lock()
f1, f2 = f2, f1
mtx.unlock()