diff --git a/nixos/modules/tests/private-storage.nix b/nixos/modules/tests/private-storage.nix index 89e63a858728722c006297e024facde686dd74e5..d6e5f639612e2be3f8922c4391bdfa87ee153729 100644 --- a/nixos/modules/tests/private-storage.nix +++ b/nixos/modules/tests/private-storage.nix @@ -94,10 +94,12 @@ import <nixpkgs/nixos/tests/make-test.nix> { # Test the machine with a Perl program (sobbing). testScript = '' + # Start booting all the VMs in parallel to speed up operations down below. + startAll; + # # Set up a Tahoe-LAFS introducer. # - $introducer->start; $introducer->succeed('tahoe create-introducer --hostname introducer /tmp/introducer'); $introducer->copyFileFromHost('${pemFile}', '/tmp/introducer/private/node.pem'); $introducer->copyFileFromHost('${introducerFURLFile}', '/tmp/introducer/private/introducer.furl'); @@ -108,9 +110,6 @@ import <nixpkgs/nixos/tests/make-test.nix> { # Get a Tahoe-LAFS storage server up. # - # Boot the storage VM. - $storage->start; - # The systemd unit should reach the running state. $storage->waitForUnit('tahoe.storage.service'); @@ -127,9 +126,6 @@ import <nixpkgs/nixos/tests/make-test.nix> { # Storage appears to be working so try to get a client to speak with it. # - # Boot another VM. - $client->start; - # Create a Tahoe-LAFS client on it. $client->succeed('tahoe create-client --shares-needed 1 --shares-happy 1 --shares-total 1 --introducer ${introducerFURL}'); '';