Skip to content

Commit ad04052

Browse files
committed
net, tests, stuntime: Drop redundant affinity in between-nodes test
The preceding test already sets the same podAntiAffinity and migrates the server away from the client — the incremental test sequence preserves it. Assisted-by: Claude <noreply@anthropic.com> Signed-off-by: Anat Wax <awax@redhat.com>
1 parent 2fc0c4b commit ad04052

2 files changed

Lines changed: 0 additions & 2 deletions

File tree

tests/network/l2_bridge/migration_stuntime/test_migration_stuntime.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,6 @@ def test_server_migrates_between_non_client_nodes(
189189
Expected:
190190
- Measured stuntime does not exceed the global threshold.
191191
"""
192-
stuntime_server_vm.set_template_affinity(affinity=new_pod_anti_affinity(label=CLIENT_VM_LABEL))
193192
migrate_vm_and_verify(vm=stuntime_server_vm, client=admin_client)
194193
measured_stuntime = measure_stuntime(active_ping=l2_bridge_active_ping)
195194
assert measured_stuntime <= STUNTIME_THRESHOLD_SECONDS, (

tests/network/localnet/migration_stuntime/test_migration_stuntime.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,6 @@ def test_server_migrates_between_non_client_nodes(
190190
Expected:
191191
- Measured stuntime does not exceed the global threshold.
192192
"""
193-
localnet_stuntime_server_vm.set_template_affinity(affinity=new_pod_anti_affinity(label=CLIENT_VM_LABEL))
194193
migrate_vm_and_verify(vm=localnet_stuntime_server_vm, client=admin_client)
195194
measured_stuntime = measure_stuntime(active_ping=active_ping)
196195
assert measured_stuntime <= STUNTIME_THRESHOLD_SECONDS, (

0 commit comments

Comments
 (0)