-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
itest: fix async payment benchmark timeout flakes #5579
itest: fix async payment benchmark timeout flakes #5579
Conversation
efb86fb
to
897a304
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice fix, LGTM 💯
lntest/itest/lnd_payment_test.go
Outdated
if err != nil { | ||
t.Fatalf("failed to assert alice's pending htlcs and/or remote/local balance") | ||
} | ||
|
||
// Wait for Bob to receive revocation from Alice. | ||
time.Sleep(2 * time.Second) | ||
var bobChan *lnrpc.Channel |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great to get rid of a static sleep!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like Travis gotten slower these days as this flake I've never seen before.
897a304
to
d94e44e
Compare
d94e44e
to
7da0b80
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
another flake bites the dust!
Fixes timeout flakes that rarely happen when
dbbackend=etcd
: