nixosTests.telegraf: switch to runTest

This commit is contained in:
zowoq
2025-03-12 12:11:18 +10:00
parent b27980ae20
commit 7435729ef7
2 changed files with 43 additions and 45 deletions

View File

@@ -1163,7 +1163,7 @@ in {
tayga = handleTest ./tayga.nix {}; tayga = handleTest ./tayga.nix {};
technitium-dns-server = handleTest ./technitium-dns-server.nix {}; technitium-dns-server = handleTest ./technitium-dns-server.nix {};
teeworlds = handleTest ./teeworlds.nix {}; teeworlds = handleTest ./teeworlds.nix {};
telegraf = handleTest ./telegraf.nix {}; telegraf = runTest ./telegraf.nix;
teleport = handleTest ./teleport.nix {}; teleport = handleTest ./teleport.nix {};
teleports = runTest ./teleports.nix; teleports = runTest ./teleports.nix;
thelounge = handleTest ./thelounge.nix {}; thelounge = handleTest ./thelounge.nix {};

View File

@@ -1,4 +1,3 @@
import ./make-test-python.nix (
{ pkgs, ... }: { pkgs, ... }:
{ {
name = "telegraf"; name = "telegraf";
@@ -44,4 +43,3 @@ import ./make-test-python.nix (
machine.wait_until_succeeds("grep -q ping /tmp/metrics.out") machine.wait_until_succeeds("grep -q ping /tmp/metrics.out")
''; '';
} }
)