Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Bitfield distribution flaky test #7281

Closed
sandreim opened this issue May 24, 2023 · 6 comments
Closed

Bitfield distribution flaky test #7281

sandreim opened this issue May 24, 2023 · 6 comments
Labels
I5-tests Tests need fixing, improving or augmenting.

Comments

@sandreim
Copy link
Contributor

sandreim commented May 24, 2023

thread 'tests::changing_view' panicked at '10ms is more than enough for sending messages.', node/network/bitfield-distribution/src/tests.rs:571:9

Happens every once in a while: https://github.com/paritytech/polkadot/blob/master/node/network/bitfield-distribution/src/tests.rs#L531

https://gitlab.parity.io/parity/mirrors/polkadot/-/jobs/2885245

@sandreim sandreim added the I5-tests Tests need fixing, improving or augmenting. label May 24, 2023
@vstakhov
Copy link
Contributor

vstakhov commented May 24, 2023

Probably because 10ms is indeed not enough in a multi-tenant environment?

@sandreim
Copy link
Contributor Author

Probably because 10ms is indeed not enough in a multi-tenant environment?

Yeah, overloaded CI machines I think.

@bkchr
Copy link
Member

bkchr commented May 24, 2023

Never use timeouts in tests cough cough

@sandreim
Copy link
Contributor Author

sandreim commented May 24, 2023

I agree that this is not a good practice in general, but in our case when testing subsystems we have this option versus the test hanging for much longer. I think we need to have some more lenient timeouts.

@bkchr
Copy link
Member

bkchr commented May 24, 2023

Yeah or just have some "global" timeout that stops the test after 10 minutes.

@sandreim
Copy link
Contributor Author

fixed in #7282

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
I5-tests Tests need fixing, improving or augmenting.
Projects
None yet
Development

No branches or pull requests

3 participants