ci,globals: hot fix for hanging test case (#10997)

pull/10638/head
Uwe Krüger 2021-07-29 21:06:08 +02:00 committed by GitHub
parent c7ecb18f52
commit 44d8dcc418
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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()