mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
ci: add more details for diagnosing the sporadically failing init_global_test.v
This commit is contained in:
parent
f1cba44154
commit
6b55b6d417
@ -121,6 +121,7 @@ fn test_global_shared() {
|
||||
}
|
||||
sem.post()
|
||||
t.wait()
|
||||
eprintln('> a: $a | b: $b')
|
||||
assert (a == 13.75 && b == -35.125) || (a == -35.125 && b == 13.75)
|
||||
}
|
||||
|
||||
@ -170,5 +171,6 @@ fn test_global_mutex() {
|
||||
assert (f1 == 17.0 && f2 == 34.0625) || (f1 == 34.0625 && f2 == 17.0)
|
||||
mtx.runlock()
|
||||
n := t.wait()
|
||||
eprintln('> n: $n | f1: $f1 | $f2: $f2')
|
||||
assert n > 0
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user