Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

env: deploy gates after network settings set #820

Merged
merged 1 commit into from
Jun 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions neofs-testlib/neofs_testlib/env/env.py
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,12 @@ def simple(cls, neofs_env_config: dict = None) -> "NeoFSEnv":
3: ["UN-LOCODE:FI HEL", "Price:44"],
},
)
neofs_env.neofs_adm().morph.set_config(
rpc_endpoint=f"http://{neofs_env.morph_rpc}",
alphabet_wallets=neofs_env.alphabet_wallets_dir,
post_data="ContainerFee=0 ContainerAliasFee=0 MaxObjectSize=524288",
)
time.sleep(30)
neofs_env.deploy_s3_gw()
neofs_env.deploy_rest_gw()
neofs_env.log_env_details_to_file()
Expand Down
7 changes: 0 additions & 7 deletions pytest_tests/tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,6 @@ def neofs_env(temp_directory, artifacts_directory, request):
else:
neofs_env = NeoFSEnv.simple()

neofs_env.neofs_adm().morph.set_config(
rpc_endpoint=f"http://{neofs_env.morph_rpc}",
alphabet_wallets=neofs_env.alphabet_wallets_dir,
post_data="ContainerFee=0 ContainerAliasFee=0 MaxObjectSize=524288",
)
time.sleep(30)

yield neofs_env

if request.config.getoption("--persist-env"):
Expand Down
Loading