Skip to content

Commit

Permalink
fix CI
Browse files Browse the repository at this point in the history
I have no idea why it is failing from some orders, maybe
something due to nix signals being dropped?
  • Loading branch information
AaronKutch committed Oct 13, 2023
1 parent fa6b96f commit ab5cee3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ jobs:
# TODO there is some unused stuff we need to fix or remove
# make all-in-docker
run: |
cargo r --bin chain_upgrade
go test ./...
cargo r --bin onomyd_only
cargo r --bin ics_cdd
cargo r --bin chain_upgrade
cargo r --bin clean
rustfmt:
Expand Down
7 changes: 6 additions & 1 deletion tests/src/bin/chain_upgrade.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
use std::time::Duration;

use log::{info, warn};
use onomy_test_lib::{
cosmovisor::{
Expand Down Expand Up @@ -135,6 +137,9 @@ async fn onomyd_runner(args: &Args) -> Result<()> {
info!("{}", get_treasury().await.stack()?);
info!("{}", get_treasury_inflation_annual().await.stack()?);

cosmovisor_runner.terminate(TIMEOUT).await.stack()?;
cosmovisor_runner
.terminate(Duration::from_secs(10))
.await
.stack()?;
Ok(())
}

0 comments on commit ab5cee3

Please sign in to comment.