test: Fix inconsistent naming of the log files.
The log file names created in `scylla_cluster.py` by `ScyllaClusterManager` and files to be collected in conftest.py by `manager` should be in sync. This patch fixes the issue, originally introduced in scylladb/scylladb#22192 Fixes scylladb/scylladb#22387 Backports: 6.1 and 6.2. Closes scylladb/scylladb#22415
This commit is contained in:
committed by
Nadav Har'El
parent
8059090a29
commit
38caabe3ef
@@ -186,7 +186,7 @@ async def manager(request, manager_internal, record_property, build_mode):
|
||||
)
|
||||
test_log = suite_testpy_log.parent / f"{suite_testpy_log.stem}.{test_case_name}.log"
|
||||
# this should be consistent with scylla_cluster.py handler name in _before_test method
|
||||
test_py_log_test = suite_testpy_log.parent / f"{test_case_name}.log"
|
||||
test_py_log_test = suite_testpy_log.parent / f"{suite_testpy_log.stem}_{test_case_name}_cluster.log"
|
||||
|
||||
manager_client = manager_internal() # set up client object in fixture with scope function
|
||||
await manager_client.before_test(test_case_name, test_log)
|
||||
|
||||
Reference in New Issue
Block a user