mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
ci,globals: hot fix for hanging test case (#10997)
This commit is contained in:
parent
c7ecb18f52
commit
44d8dcc418
@ -128,6 +128,7 @@ fn test_global_mutex() {
|
||||
} else {
|
||||
f2 = 17.0
|
||||
}
|
||||
mtx.unlock()
|
||||
mtx.@rlock()
|
||||
assert (f1 == 17.0 && f2 == 34.0625) || (f1 == 34.0625 && f2 == 17.0)
|
||||
mtx.runlock()
|
||||
|
Loading…
Reference in New Issue
Block a user