summary refs log tree commit diff
path: root/nixos/tests/cassandra.nix
diff options
context:
space:
mode:
authorDaniel Schaefer <git@danielschaefer.me>2019-04-23 05:03:07 +0200
committerDaniel Schaefer <git@danielschaefer.me>2019-06-13 04:36:41 +0200
commit545ac1820fcf556949f60f968e843759e5b1225b (patch)
tree56a22a0260a9712f0f65bc159b679203a05e41ec /nixos/tests/cassandra.nix
parent2d014f444852f3ef240a6babf46cd501f8557c95 (diff)
nixos/cassandra: Test seedAddresses
Diffstat (limited to 'nixos/tests/cassandra.nix')
-rw-r--r--nixos/tests/cassandra.nix8
1 files changed, 1 insertions, 7 deletions
diff --git a/nixos/tests/cassandra.nix b/nixos/tests/cassandra.nix
index a5925e234c4db..6779a0172dbdc 100644
--- a/nixos/tests/cassandra.nix
+++ b/nixos/tests/cassandra.nix
@@ -9,13 +9,7 @@ let
       inherit clusterName;
       listenAddress = ipAddress;
       rpcAddress = ipAddress;
-      extraConfig =
-        { start_native_transport = true;
-          seed_provider =
-            [{ class_name = "org.apache.cassandra.locator.SimpleSeedProvider";
-               parameters = [ { seeds = "192.168.1.1"; } ];
-            }];
-        };
+      seedAddresses = [ "192.168.1.1" ];
       package = testPackage;
     };
   nodeCfg = ipAddress: extra: {pkgs, config, ...}: