Skip to content

Commit 409fe0e

Browse files
disable the test snapshot file for the test using wasms
1 parent 43dbb6b commit 409fe0e

File tree

2 files changed

+6
-180
lines changed

2 files changed

+6
-180
lines changed

soroban-sdk/src/tests/crypto_bls12_381.rs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,12 @@ impl Contract {
254254

255255
#[test]
256256
fn test_invoke_contract() {
257-
let e = Env::default();
257+
let e = Env::new_with_config(EnvTestConfig {
258+
// Disable test snapshots because the tests in this repo will run across
259+
// multiple hosts, and this test uses a wasm file that won't build consistently
260+
// across different hosts.
261+
capture_snapshot_at_drop: false,
262+
});
258263

259264
let bls_contract_id = e.register(blscontract::WASM, ());
260265

soroban-sdk/test_snapshots/tests/crypto_bls12_381/test_invoke_contract.1.json

Lines changed: 0 additions & 179 deletions
This file was deleted.

0 commit comments

Comments
 (0)