--
You received this message because you are subscribed to the Google Groups "Awaitility" group.
To unsubscribe from this group and stop receiving emails from it, send an email to awaitility+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi,I don't see a reason for why you want to use Awaitility for this, just use Thread.sleep(..)?Regards,/Johan
On Tue, Dec 12, 2017 at 4:51 PM, Manuel Mauky <manue...@gmail.com> wrote:
Hi,
is it possible to let awaitility to wait for a fixed amount of time without a condition?
Basically I'd like to say "wait for x seconds". I'm new to the API but as far as I can see with the methods on the ConditionFactory we only configure
logic for how long it will wait but the actual "waiting" is started with "until". However, I don't know what to provide to the until method.
I tried something like this:
await().atMost(1000, MILLISECONDS).until(() -> true);
However, this throws a ConditionTimeoutException.
Best regards, Manuel
--
You received this message because you are subscribed to the Google Groups "Awaitility" group.
To unsubscribe from this group and stop receiving emails from it, send an email to await...@googlegroups.com.