nixosTests.cockroachdb: handleTest -> runTest
This commit is contained in:
parent
9b445d3596
commit
9a02037834
@ -329,7 +329,7 @@ in
|
|||||||
];
|
];
|
||||||
};
|
};
|
||||||
cockpit = runTest ./cockpit.nix;
|
cockpit = runTest ./cockpit.nix;
|
||||||
cockroachdb = handleTestOn [ "x86_64-linux" ] ./cockroachdb.nix { };
|
cockroachdb = runTestOn [ "x86_64-linux" ] ./cockroachdb.nix;
|
||||||
code-server = runTest ./code-server.nix;
|
code-server = runTest ./code-server.nix;
|
||||||
coder = runTest ./coder.nix;
|
coder = runTest ./coder.nix;
|
||||||
collectd = runTest ./collectd.nix;
|
collectd = runTest ./collectd.nix;
|
||||||
|
|||||||
@ -45,8 +45,9 @@
|
|||||||
# requirements, but would probably allow both aarch64/x86_64 to work.
|
# requirements, but would probably allow both aarch64/x86_64 to work.
|
||||||
#
|
#
|
||||||
|
|
||||||
let
|
{ lib, ... }:
|
||||||
|
|
||||||
|
let
|
||||||
# Creates a node. If 'joinNode' parameter, a string containing an IP address,
|
# Creates a node. If 'joinNode' parameter, a string containing an IP address,
|
||||||
# is non-null, then the CockroachDB server will attempt to join/connect to
|
# is non-null, then the CockroachDB server will attempt to join/connect to
|
||||||
# the cluster node specified at that address.
|
# the cluster node specified at that address.
|
||||||
@ -59,7 +60,6 @@ let
|
|||||||
config,
|
config,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
|
|
||||||
{
|
{
|
||||||
# Bank/TPC-C benchmarks take some memory to complete
|
# Bank/TPC-C benchmarks take some memory to complete
|
||||||
virtualisation.memorySize = 2048;
|
virtualisation.memorySize = 2048;
|
||||||
@ -103,13 +103,10 @@ let
|
|||||||
${pkgs.chrony}/bin/chronyc waitsync
|
${pkgs.chrony}/bin/chronyc waitsync
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
in
|
in
|
||||||
import ./make-test-python.nix (
|
|
||||||
{ pkgs, ... }:
|
|
||||||
{
|
{
|
||||||
name = "cockroachdb";
|
name = "cockroachdb";
|
||||||
meta.maintainers = with pkgs.lib.maintainers; [ thoughtpolice ];
|
meta.maintainers = with lib.maintainers; [ thoughtpolice ];
|
||||||
|
|
||||||
nodes = {
|
nodes = {
|
||||||
node1 = makeNode "country=us,region=east,dc=1" "192.168.1.1" null;
|
node1 = makeNode "country=us,region=east,dc=1" "192.168.1.1" null;
|
||||||
@ -131,4 +128,3 @@ import ./make-test-python.nix (
|
|||||||
)
|
)
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
)
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user