Skip to content

Commit

Permalink
undo custom max_request_time_ms in Pocket IC
Browse files Browse the repository at this point in the history
  • Loading branch information
gregorydemay committed Jan 8, 2025
1 parent 4edf125 commit 2234a17
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions tests/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ use ic_test_utilities_load_wasm::load_wasm;
use maplit::hashmap;
use mock::{MockOutcall, MockOutcallBuilder};
use pocket_ic::common::rest::{CanisterHttpMethod, MockCanisterHttpResponse, RawMessageId};
use pocket_ic::{management_canister::CanisterSettings, PocketIc, PocketIcBuilder, WasmResult};
use pocket_ic::{management_canister::CanisterSettings, PocketIc, WasmResult};
use serde::{de::DeserializeOwned, Deserialize, Serialize};
use serde_json::json;
use std::sync::Arc;
Expand Down Expand Up @@ -98,12 +98,7 @@ impl EvmRpcSetup {
}

pub fn with_args(args: InstallArgs) -> Self {
let env = Arc::new(
PocketIcBuilder::new()
.with_application_subnet()
.with_max_request_time_ms(Some(1_000_000))
.build(),
);
let env = Arc::new(PocketIc::new());

let controller = DEFAULT_CONTROLLER_TEST_ID;
let canister_id = env.create_canister_with_settings(
Expand Down

0 comments on commit 2234a17

Please sign in to comment.