commit
fbe6ab2810
@ -1,4 +1,4 @@
|
|||||||
import ./make-test.nix ({ pkgs, ... }: {
|
import ./make-test-python.nix ({ pkgs, ... }: {
|
||||||
name = "metabase";
|
name = "metabase";
|
||||||
meta = with pkgs.stdenv.lib.maintainers; {
|
meta = with pkgs.stdenv.lib.maintainers; {
|
||||||
maintainers = [ mmahut ];
|
maintainers = [ mmahut ];
|
||||||
@ -12,9 +12,9 @@ import ./make-test.nix ({ pkgs, ... }: {
|
|||||||
};
|
};
|
||||||
|
|
||||||
testScript = ''
|
testScript = ''
|
||||||
startAll;
|
start_all()
|
||||||
$machine->waitForUnit("metabase.service");
|
machine.wait_for_unit("metabase.service")
|
||||||
$machine->waitForOpenPort(3000);
|
machine.wait_for_open_port(3000)
|
||||||
$machine->waitUntilSucceeds("curl -L http://localhost:3000/setup | grep Metabase");
|
machine.wait_until_succeeds("curl -L http://localhost:3000/setup | grep Metabase")
|
||||||
'';
|
'';
|
||||||
})
|
})
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import ./make-test.nix ({ pkgs, ... }: {
|
import ./make-test-python.nix ({ pkgs, ... }: {
|
||||||
name = "trac";
|
name = "trac";
|
||||||
meta = with pkgs.stdenv.lib.maintainers; {
|
meta = with pkgs.stdenv.lib.maintainers; {
|
||||||
maintainers = [ mmahut ];
|
maintainers = [ mmahut ];
|
||||||
@ -11,9 +11,9 @@ import ./make-test.nix ({ pkgs, ... }: {
|
|||||||
};
|
};
|
||||||
|
|
||||||
testScript = ''
|
testScript = ''
|
||||||
startAll;
|
start_all()
|
||||||
$machine->waitForUnit("trac.service");
|
machine.wait_for_unit("trac.service")
|
||||||
$machine->waitForOpenPort(8000);
|
machine.wait_for_open_port(8000)
|
||||||
$machine->waitUntilSucceeds("curl -L http://localhost:8000/ | grep 'Trac Powered'");
|
machine.wait_until_succeeds("curl -L http://localhost:8000/ | grep 'Trac Powered'")
|
||||||
'';
|
'';
|
||||||
})
|
})
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
import ./make-test.nix ({ pkgs, ... }: {
|
import ./make-test-python.nix ({ pkgs, ... }: {
|
||||||
name = "trezord";
|
name = "trezord";
|
||||||
meta = with pkgs.stdenv.lib.maintainers; {
|
meta = with pkgs.stdenv.lib.maintainers; {
|
||||||
maintainers = [ mmahut ];
|
maintainers = [ mmahut "1000101" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
nodes = {
|
nodes = {
|
||||||
@ -12,9 +12,9 @@ import ./make-test.nix ({ pkgs, ... }: {
|
|||||||
};
|
};
|
||||||
|
|
||||||
testScript = ''
|
testScript = ''
|
||||||
startAll;
|
start_all()
|
||||||
$machine->waitForUnit("trezord.service");
|
machine.wait_for_unit("trezord.service")
|
||||||
$machine->waitForOpenPort(21325);
|
machine.wait_for_open_port(21325)
|
||||||
$machine->waitUntilSucceeds("curl -L http://localhost:21325/status/ | grep Version");
|
machine.wait_until_succeeds("curl -L http://localhost:21325/status/ | grep Version")
|
||||||
'';
|
'';
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user