tangled
alpha
login
or
join now
tjh.dev
/
nixpkgs
0
fork
atom
Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
0
fork
atom
overview
issues
pulls
pipelines
nixosTests.zrepl: migrate to runTest
Part Of #386873
Martin Weinelt
11 months ago
89bf1ebc
04bc28c6
+4
-4
2 changed files
expand all
collapse all
unified
split
nixos
tests
all-tests.nix
zrepl.nix
+1
-1
nixos/tests/all-tests.nix
···
1318
1318
zoneminder = handleTest ./zoneminder.nix {};
1319
1319
zookeeper = handleTest ./zookeeper.nix {};
1320
1320
zram-generator = handleTest ./zram-generator.nix {};
1321
1321
-
zrepl = handleTest ./zrepl.nix {};
1321
1321
+
zrepl = runTest ./zrepl.nix;
1322
1322
zsh-history = runTest ./zsh-history.nix;
1323
1323
zwave-js = runTest ./zwave-js.nix;
1324
1324
zwave-js-ui = runTest ./zwave-js-ui.nix;
+3
-3
nixos/tests/zrepl.nix
···
1
1
-
import ./make-test-python.nix ({
1
1
+
{
2
2
name = "zrepl";
3
3
4
4
nodes.host =
5
5
-
{ config, pkgs, ... }:
5
5
+
{ pkgs, ... }:
6
6
{
7
7
config = {
8
8
# Prerequisites for ZFS and tests.
···
73
73
"zrepl_zfs_snapshot_duration_count{filesystem=\"test\"}" in out
74
74
), "zrepl snapshot counter for test was not found in Prometheus output"
75
75
'';
76
76
-
})
76
76
+
}