-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Fix test-linux-stable excessive run time
#13597
Conversation
b0b9a06 to
de505eb
Compare
|
Closes paritytech/ci_cd#754 |
test-linux-stable excessive run time fixtest-linux-stable excessive run time
So is it as fast as before the bug occurred? Can you give a short before/after timing please? |
de505eb to
1df5865
Compare
1df5865 to
416d906
Compare
You mean too many parallel execution brought down the CPU? |
416d906 to
9f758ad
Compare
I don't have before results. I don't know when "bug" occurred. Mb you could share the link of the invocation in the past so i could compare. |
No, it's not that. Every test by default nextest config is dedicated to one Core. It's more likely because of some kind of the race condition in |
9f758ad to
aeed443
Compare
- Add nextest config - Add slow tests to mutual exclusion list
aeed443 to
fcbe807
Compare
Co-authored-by: Alexander Samusev <[email protected]>
Interesting! Maybe some issue in Cargo itself. |
* ci-cd#754:Fix slow unit tests - Add nextest config - Add slow tests to mutual exclusion list * Update .config/nextest.toml Co-authored-by: Alexander Samusev <[email protected]> --------- Co-authored-by: Alexander Samusev <[email protected]>
* ci-cd#754:Fix slow unit tests - Add nextest config - Add slow tests to mutual exclusion list * Update .config/nextest.toml Co-authored-by: Alexander Samusev <[email protected]> --------- Co-authored-by: Alexander Samusev <[email protected]>
Add nextest config file. Aside of default config add mutual exclusion group(bottom of the file). This group is limited to one thread, meaning that tests from the group will be executed sequentially. This is because tests falling in this group run
cargo buildand multiple invocation ofcargo buildlead to clottering execution.By using test group we could achieve 1 minute faster result than just using 1 thread for all tests)