Can this use org.jboss.as.test.shared.TimeoutUtil so this constant can be adjusted to the test environment?

Also, if it's not a sign that's something is broken if this takes longer, then a longer timeout is better since things like gc pauses won't result in a failure. In the normal case the loop will exit promptly anyway.