-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sporadic test failure on Subscriber
#2
Comments
Workaround for this was made by replacing the usage of |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Offending code in the test:
pipitor/src/websub/subscriber.rs
Lines 340 to 350 in a664f9e
The
tokio::time::advance
should trigger a subscription renewal and the hublistener
should receive a subscription request, but in fact, thelistener
occasionally hangs.If you uncomment the
yield_now
, theScheduler
'sget_next_tick
callback seems to fire before callingtokio::time::advance()
, which is unexpected since therefresh_time
has not passed then.tokio-rs/tokio#2090 may be relevant, I guess.
The text was updated successfully, but these errors were encountered: