Join GitHub today
[WFLY-12108] Use a timeout utility instead of a sleep. Also remove th… #12309
…e predicate test as it doesn't work well with possible race conditions in the test itself.
This change is a result of the test failing at least twice on CI. A one second timeout didn't seem to be enough so a real utility should be used instead.