diff --git a/pytest_tests/helpers/k6.py b/pytest_tests/helpers/k6.py index 370fc7b..0fb1033 100644 --- a/pytest_tests/helpers/k6.py +++ b/pytest_tests/helpers/k6.py @@ -6,7 +6,7 @@ from time import sleep import allure from neofs_testlib.shell import Shell -from pytest_tests.helpers.remote_process import RemoteProcess +from remote_process import RemoteProcess EXIT_RESULT_CODE = 0 diff --git a/pytest_tests/pytest.ini b/pytest_tests/pytest.ini index fb6d917..97f3a80 100644 --- a/pytest_tests/pytest.ini +++ b/pytest_tests/pytest.ini @@ -26,3 +26,4 @@ markers = add_nodes: add nodes to cluster check_binaries: check neofs installed binaries versions payments: tests for payment associated operations + load: performance tests diff --git a/pytest_tests/steps/load.py b/pytest_tests/steps/load.py index 31478de..b2d7f0e 100644 --- a/pytest_tests/steps/load.py +++ b/pytest_tests/steps/load.py @@ -6,7 +6,7 @@ from common import STORAGE_NODE_SERVICE_NAME_REGEX from neofs_testlib.hosting import Hosting from neofs_testlib.shell import SSHShell -from pytest_tests.helpers.k6 import K6, LoadParams, LoadResults +from k6 import K6, LoadParams, LoadResults @allure.title("Get storage host endpoints") diff --git a/pytest_tests/testsuites/load/test_load.py b/pytest_tests/testsuites/load/test_load.py index 7f6dfab..5706ac3 100644 --- a/pytest_tests/testsuites/load/test_load.py +++ b/pytest_tests/testsuites/load/test_load.py @@ -3,8 +3,8 @@ import pytest from common import LOAD_NODE_SSH_PRIVATE_KEY_PATH, LOAD_NODE_SSH_USER, LOAD_NODES from neofs_testlib.hosting import Hosting -from pytest_tests.helpers.k6 import LoadParams -from pytest_tests.steps.load import ( +from k6 import LoadParams +from load import ( clear_cache_and_data, get_storage_host_endpoints, multi_node_k6_run,