about summary refs log tree commit diff
path: root/nixos/tests
diff options
context:
space:
mode:
authorMaciej Krüger <mkg20001@gmail.com>2021-06-05 01:27:27 +0200
committerGitHub <noreply@github.com>2021-06-05 01:27:27 +0200
commit26b3751de79105836a68195bb5bcd70d608c1d3f (patch)
treeef5b4df5eebfd024fbf3a7ea5e03dab53fd55b07 /nixos/tests
parent3255d05cacd9e21d78326986bd7d3c4591580fdd (diff)
parent161a35b0b8e4a5cb8d5fac3d5083ee9fb82cfbe2 (diff)
Merge pull request #97692 from ryneeverett/lockkernelmodules-lxd
Diffstat (limited to 'nixos/tests')
-rw-r--r--nixos/tests/lxd.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/nixos/tests/lxd.nix b/nixos/tests/lxd.nix
index ab56b75c02e4e..889ca9598e3f3 100644
--- a/nixos/tests/lxd.nix
+++ b/nixos/tests/lxd.nix
@@ -96,6 +96,7 @@ in {
         ## limits.cpu ##
 
         machine.succeed("lxc config set test limits.cpu 1")
+        machine.succeed("lxc restart test")
 
         # Since Alpine doesn't have `nproc` pre-installed, we've gotta resort
         # to the primal methods
@@ -105,6 +106,7 @@ in {
         )
 
         machine.succeed("lxc config set test limits.cpu 2")
+        machine.succeed("lxc restart test")
 
         assert (
             "2"
@@ -115,6 +117,7 @@ in {
         ## limits.memory ##
 
         machine.succeed("lxc config set test limits.memory 64MB")
+        machine.succeed("lxc restart test")
 
         assert (
             "MemTotal:          62500 kB"
@@ -122,6 +125,7 @@ in {
         )
 
         machine.succeed("lxc config set test limits.memory 128MB")
+        machine.succeed("lxc restart test")
 
         assert (
             "MemTotal:         125000 kB"