mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
dump threads if ChooseByNameTest takes too long
This commit is contained in:
@@ -133,7 +133,10 @@ class Intf {
|
||||
elements = set as List
|
||||
semaphore.up()
|
||||
} as Consumer<Set<?>>)
|
||||
assert semaphore.waitFor(1000)
|
||||
if (!semaphore.waitFor(1000)) {
|
||||
printThreadDump()
|
||||
fail()
|
||||
}
|
||||
return elements
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user