nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix

nixosTests.zrepl: migrate to runTest

Part Of #386873

+4 -4
+1 -1
nixos/tests/all-tests.nix
··· 1318 zoneminder = handleTest ./zoneminder.nix {}; 1319 zookeeper = handleTest ./zookeeper.nix {}; 1320 zram-generator = handleTest ./zram-generator.nix {}; 1321 - zrepl = handleTest ./zrepl.nix {}; 1322 zsh-history = runTest ./zsh-history.nix; 1323 zwave-js = runTest ./zwave-js.nix; 1324 zwave-js-ui = runTest ./zwave-js-ui.nix;
··· 1318 zoneminder = handleTest ./zoneminder.nix {}; 1319 zookeeper = handleTest ./zookeeper.nix {}; 1320 zram-generator = handleTest ./zram-generator.nix {}; 1321 + zrepl = runTest ./zrepl.nix; 1322 zsh-history = runTest ./zsh-history.nix; 1323 zwave-js = runTest ./zwave-js.nix; 1324 zwave-js-ui = runTest ./zwave-js-ui.nix;
+3 -3
nixos/tests/zrepl.nix
··· 1 - import ./make-test-python.nix ({ 2 name = "zrepl"; 3 4 nodes.host = 5 - { config, pkgs, ... }: 6 { 7 config = { 8 # Prerequisites for ZFS and tests. ··· 73 "zrepl_zfs_snapshot_duration_count{filesystem=\"test\"}" in out 74 ), "zrepl snapshot counter for test was not found in Prometheus output" 75 ''; 76 - })
··· 1 + { 2 name = "zrepl"; 3 4 nodes.host = 5 + { pkgs, ... }: 6 { 7 config = { 8 # Prerequisites for ZFS and tests. ··· 73 "zrepl_zfs_snapshot_duration_count{filesystem=\"test\"}" in out 74 ), "zrepl snapshot counter for test was not found in Prometheus output" 75 ''; 76 + }