Update PublisherConfirms.java
Operator error,The variable should be incremented every time
This commit is contained in:
parent
be558bb949
commit
e8d06a646a
@ -129,7 +129,7 @@ public class PublisherConfirms {
|
||||
int waited = 0;
|
||||
while (!condition.getAsBoolean() && waited < timeout.toMillis()) {
|
||||
Thread.sleep(100L);
|
||||
waited = +100;
|
||||
waited += 100;
|
||||
}
|
||||
return condition.getAsBoolean();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user