ci,globals: hot fix for hanging test case (#10997)
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