You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#[test]fnshould_sleep_the_specified_time_between_checks(){let start = Instant::now();letmut sleeper = MillisSleeper::default();
wait::wait(&mut sleeper,&new_config("198.19.255.255:1",2_000,0,0,10,1),&mut on_timeout);let elapsed = millis_elapsed(start);assert!(elapsed >= 2010);// attemps one connection and fails after 1000ms; then sleeps 10ms; finally connects again and fails after additional 1000msassert!(elapsed < 3000);}
I'm very sorry, I used an old version, where sleeping was not working yet.
This is resolved. However, I experienced another problem. For this, please see issue #19
Hi,
thanks for this amazing app! I relly like the documentation, it helped me to integrate your script into my docker-compose application.
However, I found, that the
WAIT_SLEEP_INTERVAL
environment variable doesn't change anything. It always defaults to 1.After that I looked into your integration test and there were no tests, where you tested a
WAIT_SLEEP_INTERVAL
different from 1.Could you please investigate this?
Have a great day!
The text was updated successfully, but these errors were encountered: