Compare commits

..

1 Commits

Author SHA1 Message Date
Yaniv Kaul
ddfe3165c3 Fix for Suspicious unused loop iteration variable
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2025-12-15 15:10:21 +02:00
2 changed files with 3 additions and 1 deletions

View File

@@ -112,7 +112,8 @@ async def test_downgrade_after_partial_upgrade(manager: ManagerClient) -> None:
# There is one node that is not upgraded. The feature should not be enabled.
for srv in servers:
assert TEST_FEATURE_NAME not in await get_enabled_features(cql, host)
srv_host = (await wait_for_cql_and_get_hosts(cql, [srv], time.time() + 60))[0]
assert TEST_FEATURE_NAME not in await get_enabled_features(cql, srv_host)
# Downgrade, in reverse order
for srv in upgrading_servers[::-1]:

View File

@@ -182,6 +182,7 @@ def cleanup_all():
sys.stdout.flush()
shutil.copyfileobj(f, sys.stdout.buffer)
f.close()
scylla_set = set()
print(summary)
# We run the cleanup_all() function on exit for any reason - successful finish