Compare commits

..

1 Commits

Author SHA1 Message Date
Nadav Har'El
f23ba66351 Fix for Unused local variable
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2025-12-15 16:27:38 +02:00
2 changed files with 1 additions and 3 deletions

View File

@@ -112,8 +112,7 @@ 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:
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)
assert TEST_FEATURE_NAME not in await get_enabled_features(cql, host)
# Downgrade, in reverse order
for srv in upgrading_servers[::-1]:

View File

@@ -182,7 +182,6 @@ 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