Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

nixosTests.zrepl: migrate to runTest

Part Of #386873

+4 -4
+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 - zrepl = handleTest ./zrepl.nix {}; 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 - import ./make-test-python.nix ({ 1 + { 2 2 name = "zrepl"; 3 3 4 4 nodes.host = 5 - { config, pkgs, ... }: 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 + }