test.py: move mv tests into a separate folder

Now that we support suite subfolders,
As an example, this commit move mv tests into a separate folder

custom test.py lookup also works.
tests can be run as:

1. ./tools/toolchain/dbuild ./test.py --no-gather-metrics --mode=dev topology_custom/mv/tablets/test_mv_tablets_empty_ip
2. ./tools/toolchain/dbuild ./test.py --no-gather-metrics --mode=dev topology_custom/mv/tablets
3. ./tools/toolchain/dbuild ./test.py --no-gather-metrics --mode=dev topology_custom/mv
This commit is contained in:
Artsiom Mishuta
2025-02-12 11:34:07 +01:00
parent 5ca025a8c1
commit b36d586d80
12 changed files with 14 additions and 4 deletions

View File

@@ -0,0 +1,5 @@
#
# Copyright (C) 2025-present ScyllaDB
#
# SPDX-License-Identifier: LicenseRef-ScyllaDB-Source-Available-1.0
#

View File

@@ -0,0 +1,5 @@
#
# Copyright (C) 2025-present ScyllaDB
#
# SPDX-License-Identifier: LicenseRef-ScyllaDB-Source-Available-1.0
#

View File

@@ -12,7 +12,7 @@ from test.pylib.util import wait_for_cql_and_get_hosts
from test.pylib.internal_types import ServerInfo
from test.topology.conftest import skip_mode
from .test_alternator import get_alternator, alternator_config, full_query
from test.topology_custom.test_alternator import get_alternator, alternator_config, full_query
import pytest
import asyncio

View File

@@ -18,7 +18,7 @@ import logging
from test.topology.conftest import skip_mode
from test.topology.util import get_topology_coordinator, find_server_by_host_id
from test.topology_custom.test_mv_tablets import get_tablet_replicas
from test.topology_custom.mv.tablets.test_mv_tablets import get_tablet_replicas
logger = logging.getLogger(__name__)

View File

@@ -12,7 +12,7 @@ import logging
from test.topology.conftest import skip_mode
from test.pylib.util import wait_for_view
from test.topology_custom.test_mv_tablets import pin_the_only_tablet, get_tablet_replicas
from test.topology_custom.mv.tablets.test_mv_tablets import pin_the_only_tablet, get_tablet_replicas
from cassandra.cluster import ConsistencyLevel, EXEC_PROFILE_DEFAULT # type: ignore
from cassandra.cqltypes import Int32Type # type: ignore

View File

@@ -11,7 +11,7 @@ import asyncio
import pytest
from test.topology.conftest import skip_mode
from test.pylib.util import wait_for_view, wait_for
from test.topology_custom.test_mv_tablets import pin_the_only_tablet
from test.topology_custom.mv.tablets.test_mv_tablets import pin_the_only_tablet
from test.pylib.tablets import get_tablet_replica
logger = logging.getLogger(__name__)