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 {};
technitium-dns-server = handleTest ./technitium-dns-server.nix {};
teeworlds = handleTest ./teeworlds.nix {};
telegraf = handleTest ./telegraf.nix {};
telegraf = runTest ./telegraf.nix;
teleport = handleTest ./teleport.nix {};
teleports = runTest ./teleports.nix;
thelounge = handleTest ./thelounge.nix {};

View File

@@ -1,6 +1,5 @@
import ./make-test-python.nix (
{ pkgs, ... }:
{
{ pkgs, ... }:
{
name = "telegraf";
meta = with pkgs.lib.maintainers; {
maintainers = [ mic92 ];
@@ -43,5 +42,4 @@ import ./make-test-python.nix (
machine.wait_until_succeeds("grep -q example /tmp/metrics.out")
machine.wait_until_succeeds("grep -q ping /tmp/metrics.out")
'';
}
)
}