Skip to content

Commit

Permalink
fix(iota-benchmark/tests): fix test_simulated_load_reconfig_restarts (#…
Browse files Browse the repository at this point in the history
…3853)

* fix(iota-benchmark/tests): fix test_simulated_load_reconfig_restarts
Link GitHub issue to the access_clock_object_test
  • Loading branch information
Dkwcs authored Nov 12, 2024
1 parent 220fa7a commit 7796881
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
3 changes: 0 additions & 3 deletions crates/iota-benchmark/tests/simtest.rs
Original file line number Diff line number Diff line change
Expand Up @@ -172,11 +172,8 @@ mod test {
test_cluster.wait_for_epoch_all_nodes(1).await;
}

#[ignore("Disabled due to flakiness - re-enable when failure is fixed")]
#[sim_test(config = "test_config()")]
async fn test_simulated_load_reconfig_restarts() {
// TODO added to invalidate a failing test seed in CI. Remove me
tokio::time::sleep(Duration::from_secs(1)).await;
iota_protocol_config::ProtocolConfig::poison_get_for_min_version();
let test_cluster = build_test_cluster(4, 1000).await;
let node_restarter = test_cluster
Expand Down
4 changes: 2 additions & 2 deletions crates/iota-e2e-tests/tests/shared_objects_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@ async fn call_shared_object_contract() {
);
}

#[ignore("Disabled due to flakiness - re-enable when failure is fixed")]
#[ignore("Issue - https://github.com/iotaledger/iota/issues/4010")]
#[sim_test]
async fn access_clock_object_test() {
let test_cluster = TestClusterBuilder::new().build().await;
Expand All @@ -478,7 +478,7 @@ async fn access_clock_object_test() {
&test_cluster
.test_transaction_builder()
.await
.move_call(package_id, "clock", "get_time", vec![CallArg::CLOCK_IMM])
.move_call(package_id, "clock", "access", vec![CallArg::CLOCK_IMM])
.build(),
);
let digest = *transaction.digest();
Expand Down

0 comments on commit 7796881

Please sign in to comment.