From 89bf1ebca0cfdd3a84f6ecaa2f72272a697fce80 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Fri, 14 Mar 2025 22:41:58 +0100 Subject: [PATCH] nixosTests.zrepl: migrate to runTest Part Of #386873 --- nixos/tests/all-tests.nix | 2 +- nixos/tests/zrepl.nix | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/nixos/tests/all-tests.nix b/nixos/tests/all-tests.nix index ea62bfbdc521..51bf608c9605 100644 --- a/nixos/tests/all-tests.nix +++ b/nixos/tests/all-tests.nix @@ -1318,7 +1318,7 @@ in { zoneminder = handleTest ./zoneminder.nix {}; zookeeper = handleTest ./zookeeper.nix {}; zram-generator = handleTest ./zram-generator.nix {}; - zrepl = handleTest ./zrepl.nix {}; + zrepl = runTest ./zrepl.nix; zsh-history = runTest ./zsh-history.nix; zwave-js = runTest ./zwave-js.nix; zwave-js-ui = runTest ./zwave-js-ui.nix; diff --git a/nixos/tests/zrepl.nix b/nixos/tests/zrepl.nix index 095e03cb3344..3bc6ed9d342c 100644 --- a/nixos/tests/zrepl.nix +++ b/nixos/tests/zrepl.nix @@ -1,8 +1,8 @@ -import ./make-test-python.nix ({ +{ name = "zrepl"; nodes.host = - { config, pkgs, ... }: + { pkgs, ... }: { config = { # Prerequisites for ZFS and tests. @@ -73,4 +73,4 @@ import ./make-test-python.nix ({ "zrepl_zfs_snapshot_duration_count{filesystem=\"test\"}" in out ), "zrepl snapshot counter for test was not found in Prometheus output" ''; -}) +}