How to set timeout infinite?

464 views
Skip to first unread message

jtorr...@gmail.com

unread,
Feb 26, 2014, 10:20:06 AM2/26/14
to java-e...@googlegroups.com
in Expect linux, when set timeout to -1 this value infinite, in the expectit how it?

Alexey Gavrilov

unread,
Feb 26, 2014, 10:51:00 AM2/26/14
to jtorr...@gmail.com, java-e...@googlegroups.com
Hi!

The infinite timeout is not currently supported. Passing a negative timeout value will raise an exception. I've created an enhancement GitHub issue for this and will fix it in the next version.

Please set the timeout to Long.MAX_VALUE to get closer to infinity.
 

Thanks,
Alexey


On Wed, Feb 26, 2014 at 4:20 PM, <jtorr...@gmail.com> wrote:
in Expect linux, when set timeout to -1 this value infinite, in the expectit how it?

--
You received this message because you are subscribed to the Google Groups "Yet another Expect for Java" group.
To unsubscribe from this group and stop receiving emails from it, send an email to java-expecti...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply all
Reply to author
Forward
0 new messages