Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
dima74 committed Jun 7, 2024
1 parent 7b6b8cb commit c4fa3ee
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/iroha2-dev-pr.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
name: I2::Dev::Tests

on:
push:
branches: [diralik/custom-isi2]
pull_request:
branches: [main]
paths:
Expand Down
8 changes: 4 additions & 4 deletions client/tests/integration/upgrade.rs
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ fn executor_upgrade_should_revoke_removed_permissions() -> Result<()> {
fn executor_custom_instructions_simple() -> Result<()> {
use executor_custom_data_model::simple::{CustomInstructionBox, MintAssetForAllAccounts};

let (_rt, _peer, client) = <PeerBuilder>::new().with_port(11_170).start_with_runtime();
let (_rt, _peer, client) = <PeerBuilder>::new().with_port(11_270).start_with_runtime();
wait_for_genesis_committed(&vec![client.clone()], 0);

upgrade_executor(
Expand Down Expand Up @@ -252,11 +252,11 @@ fn executor_custom_instructions_complex() -> Result<()> {
config.chain_wide.executor_runtime.fuel_limit = 1_000_000_000;

// This is attempt to make test not flaky (it passes locally but fails on CI)
config.network.idle_timeout = Duration::from_secs(3600);
config.live_query_store.idle_time = Duration::from_secs(3600);
// config.network.idle_timeout = Duration::from_secs(3600);
// config.live_query_store.idle_time = Duration::from_secs(3600);

let (_rt, _peer, client) = PeerBuilder::new()
.with_port(11_185)
.with_port(11_275)
.with_config(config)
.start_with_runtime();
wait_for_genesis_committed(&vec![client.clone()], 0);
Expand Down

0 comments on commit c4fa3ee

Please sign in to comment.