Skip to content

Commit

Permalink
nixosTests/sunset-unbuilt-9: simplify test
Browse files Browse the repository at this point in the history
  • Loading branch information
sinanmohd committed Aug 17, 2024
1 parent e4550b6 commit e720a2d
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions nixos/tests/all-tests.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ let
nodes.d.inputs.c = { }; # d->c
};

# A B C D E
# \ | / | |
# U V W X
# A B C D
# \ | / |
# U V W
sunset.dag = {
nodes =
let
Expand All @@ -26,12 +26,10 @@ let
b = goalDependsOn [ "u" "v" ];
c = goalDependsOn [ "u" "v" ];
d = goalDependsOn [ "w" ];
e = goalDependsOn [ "x" ];

u = { };
v = { };
w = { };
x = { };
};
};
in
Expand Down Expand Up @@ -91,11 +89,11 @@ builtins.mapAttrs
];
};

sunset-unbuilt-9 = {
sunset-unbuilt-7 = {
imports = [
{
dag = {
test.unconstrained.builds = 9;
test.unconstrained.builds = 7;

constraints.builds = 5;
test.constrained.builds = 3;
Expand All @@ -115,11 +113,9 @@ builtins.mapAttrs
};

d.test.needed = true;
e.test.needed = true;
u.test.needed = true;
v.test.needed = true;
w.test.needed = true;
x.test.needed = true;
};
};
}
Expand Down

0 comments on commit e720a2d

Please sign in to comment.