From 18eae4ef102cbb6143ef0ac3729c27ca331c0b1e Mon Sep 17 00:00:00 2001 From: Jacek Galowicz Date: Tue, 21 Apr 2026 11:40:43 +0000 Subject: [PATCH] nixosTests.scion-freestanding-deployment: Fix machine type assumption --- .../tests/scion/freestanding-deployment/default.nix | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/nixos/tests/scion/freestanding-deployment/default.nix b/nixos/tests/scion/freestanding-deployment/default.nix index 7c09c42e8f2c..f90ec65cc9cd 100644 --- a/nixos/tests/scion/freestanding-deployment/default.nix +++ b/nixos/tests/scion/freestanding-deployment/default.nix @@ -140,28 +140,27 @@ in in # python '' - # List of AS instances - machines = [scion01, scion02, scion03, scion04, scion05] + vms = [scion01, scion02, scion03, scion04, scion05] # Functions to avoid many for loops def start(allow_reboot=False): - for i in machines: + for i in vms: i.start(allow_reboot=allow_reboot) def wait_for_unit(service_name): - for i in machines: + for i in vms: i.wait_for_unit(service_name) def succeed(command): - for i in machines: + for i in vms: i.succeed(command) def reboot(): - for i in machines: + for i in vms: i.reboot() def crash(): - for i in machines: + for i in vms: i.crash() # Start all machines, allowing reboot for later