nixosTests.flannel: handleTest -> runTest
This commit is contained in:
parent
bb76321386
commit
40a27ed8e7
@ -530,7 +530,7 @@ in
|
||||
};
|
||||
fish = runTest ./fish.nix;
|
||||
firezone = runTest ./firezone/firezone.nix;
|
||||
flannel = handleTestOn [ "x86_64-linux" ] ./flannel.nix { };
|
||||
flannel = runTestOn [ "x86_64-linux" ] ./flannel.nix;
|
||||
flaresolverr = runTest ./flaresolverr.nix;
|
||||
flood = runTest ./flood.nix;
|
||||
floorp = runTest {
|
||||
|
||||
@ -1,17 +1,12 @@
|
||||
import ./make-test-python.nix (
|
||||
{ lib, ... }:
|
||||
{
|
||||
name = "flannel";
|
||||
|
||||
meta = with lib.maintainers; {
|
||||
maintainers = [ offline ];
|
||||
};
|
||||
meta.maintainers = with lib.maintainers; [ offline ];
|
||||
|
||||
nodes =
|
||||
let
|
||||
flannelConfig =
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
flannelConfig = {
|
||||
services.flannel = {
|
||||
enable = true;
|
||||
backend = {
|
||||
@ -27,11 +22,8 @@ import ./make-test-python.nix (
|
||||
};
|
||||
in
|
||||
{
|
||||
etcd =
|
||||
{ ... }:
|
||||
{
|
||||
services = {
|
||||
etcd = {
|
||||
services.etcd = {
|
||||
enable = true;
|
||||
listenClientUrls = [ "http://0.0.0.0:2379" ]; # requires ip-address for binding
|
||||
listenPeerUrls = [ "http://0.0.0.0:2380" ]; # requires ip-address for binding
|
||||
@ -39,7 +31,6 @@ import ./make-test-python.nix (
|
||||
initialAdvertisePeerUrls = [ "http://etcd:2379" ];
|
||||
initialCluster = [ "etcd=http://etcd:2379" ];
|
||||
};
|
||||
};
|
||||
|
||||
networking.firewall.allowedTCPPorts = [ 2379 ];
|
||||
};
|
||||
@ -63,4 +54,3 @@ import ./make-test-python.nix (
|
||||
node2.wait_until_succeeds(f"ping -c 1 {ip1}")
|
||||
'';
|
||||
}
|
||||
)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user