Skip to content

Commit

Permalink
chore(tests): re-run tests for gclient if failed (#4450)
Browse files Browse the repository at this point in the history
  • Loading branch information
grishasobol authored Jan 18, 2025
1 parent 20859f2 commit f07c634
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .config/nextest.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,8 @@ threads-required = "num-test-threads"
filter = 'package(ethexe-observer)'
retries = 5
threads-required = "num-test-threads"

[[profile.ci.overrides]]
filter = 'package(gclient)'
retries = 5
threads-required = "num-test-threads"
2 changes: 1 addition & 1 deletion gclient/tests/upload.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ async fn upload_programs_and_check(
let (ex_res, _) = if let Some(timeout) = timeout {
tokio::time::timeout(timeout, api.upload_program_bytes_batch(args))
.await
.expect("Too long test upload time - something goes wrong.")?
.expect("Too long test upload time - something goes wrong")?
} else {
api.upload_program_bytes_batch(args).await?
};
Expand Down

0 comments on commit f07c634

Please sign in to comment.