Skip to content

sc-manual-seal: don't spawn threads in tests#3595

Merged
athei merged 1 commit intomasterfrom
andre/manual-seal-threads
Mar 6, 2024
Merged

sc-manual-seal: don't spawn threads in tests#3595
athei merged 1 commit intomasterfrom
andre/manual-seal-threads

Conversation

@andresilva
Copy link
Copy Markdown
Contributor

@andresilva andresilva commented Mar 6, 2024

Hopefully helps with test flakiness.

@andresilva andresilva added R0-no-crate-publish-required The change does not require any crates to be re-published. T0-node This PR/Issue is related to the topic “node”. labels Mar 6, 2024
@andresilva andresilva requested a review from a team March 6, 2024 11:55
@michalkucharczyk
Copy link
Copy Markdown
Contributor

We could run this test 20x (by modyfying gitlab-ci files) in this particular PR just to test if the fix works?
What was the failure-rate?

@michalkucharczyk michalkucharczyk requested a review from a team March 6, 2024 13:11
@athei athei added this pull request to the merge queue Mar 6, 2024
@andresilva
Copy link
Copy Markdown
Contributor Author

We could run this test 20x (by modyfying gitlab-ci files) in this particular PR just to test if the fix works? What was the failure-rate?

I'll open a draft PR to try and replicate this in CI.

@niklasad1
Copy link
Copy Markdown
Contributor

niklasad1 commented Mar 6, 2024

@andresilva can you add timeouts the rx.await in this PR as well? Just to make it easier debug if it starts failing again?

I'm not sure why it failed but could that too many threads were created and spawning the thread crashed then the future was not executed?

Merged via the queue into master with commit adce090 Mar 6, 2024
@athei athei deleted the andre/manual-seal-threads branch March 6, 2024 16:00
@athei athei mentioned this pull request Mar 7, 2024
github-merge-queue bot pushed a commit that referenced this pull request Mar 7, 2024
Unfortunately, the flakiness wasn't fixed by
#3595. Let's disable the
test in the meanwhile since it is hanging on the CI a lot.

---------

Co-authored-by: Liam Aharon <[email protected]>
bgallois pushed a commit to duniter/duniter-polkadot-sdk that referenced this pull request Mar 25, 2024
bgallois pushed a commit to duniter/duniter-polkadot-sdk that referenced this pull request Mar 25, 2024
Unfortunately, the flakiness wasn't fixed by
paritytech#3595. Let's disable the
test in the meanwhile since it is hanging on the CI a lot.

---------

Co-authored-by: Liam Aharon <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

R0-no-crate-publish-required The change does not require any crates to be re-published. T0-node This PR/Issue is related to the topic “node”.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants