Skip to content

Commit 8ef5356

Browse files
committed
differnt dirs for tests
1 parent defdeb2 commit 8ef5356

1 file changed

Lines changed: 10 additions & 4 deletions

File tree

tests/consensus_tests/test_shard_snapshot_transfer.py

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -122,10 +122,16 @@ def test_shard_snapshot_transfer_with_api_key(tmp_path: pathlib.Path):
122122
"api-key": alt_api_key,
123123
}
124124

125-
shard_snapshot_transfer_with_api_key(tmp_path, env, headers)
126-
shard_snapshot_transfer_with_api_key(tmp_path, alt_env, headers)
127-
shard_snapshot_transfer_with_api_key(tmp_path, alt_env, headers_alt)
128-
125+
tmp_dir_1 = tmp_path / "api_key_instance_1"
126+
tmp_dir_1.mkdir(parents=True, exist_ok=True)
127+
tmp_dir_2 = tmp_path / "api_key_instance_2"
128+
tmp_dir_2.mkdir(parents=True, exist_ok=True)
129+
tmp_dir_3 = tmp_path / "api_key_instance_3"
130+
tmp_dir_3.mkdir(parents=True, exist_ok=True)
131+
132+
shard_snapshot_transfer_with_api_key(tmp_dir_1, env, headers)
133+
shard_snapshot_transfer_with_api_key(tmp_dir_2, alt_env, headers)
134+
shard_snapshot_transfer_with_api_key(tmp_dir_3, alt_env, headers_alt)
129135

130136

131137
def shard_snapshot_transfer_with_api_key(tmp_path: pathlib.Path, env, headers):

0 commit comments

Comments
 (0)