about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2024-05-15 11:50:11 +0200
committerFlorian Klink <flokli@flokli.de>2024-05-15 11:50:11 +0200
commitea6604c03a26ff35f1337797b721952d1990bbfc (patch)
treeefb4b5af3a7919e7d6059f5da46928549792b655 /nixos
parent24ace2abee4d9ae78cb79d3dc82cf7439d067bb2 (diff)
nixosTests.garage: migrate replicationMode to string
Do the same config change steps the assertion asks users to.
Diffstat (limited to 'nixos')
-rw-r--r--nixos/tests/garage/with-3node-replication.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/nixos/tests/garage/with-3node-replication.nix b/nixos/tests/garage/with-3node-replication.nix
index d4387b198d976..266a1082893f7 100644
--- a/nixos/tests/garage/with-3node-replication.nix
+++ b/nixos/tests/garage/with-3node-replication.nix
@@ -7,10 +7,10 @@ args@{ mkNode, ver, ... }:
   };
 
   nodes = {
-    node1 = mkNode { replicationMode = 3; publicV6Address = "fc00:1::1"; };
-    node2 = mkNode { replicationMode = 3; publicV6Address = "fc00:1::2"; };
-    node3 = mkNode { replicationMode = 3; publicV6Address = "fc00:1::3"; };
-    node4 = mkNode { replicationMode = 3; publicV6Address = "fc00:1::4"; };
+    node1 = mkNode { replicationMode = "3"; publicV6Address = "fc00:1::1"; };
+    node2 = mkNode { replicationMode = "3"; publicV6Address = "fc00:1::2"; };
+    node3 = mkNode { replicationMode = "3"; publicV6Address = "fc00:1::3"; };
+    node4 = mkNode { replicationMode = "3"; publicV6Address = "fc00:1::4"; };
   };
 
   testScript = ''