Skip to content

Commit

Permalink
feat: intentionally break test
Browse files Browse the repository at this point in the history
  • Loading branch information
hbjydev committed Jun 20, 2024
1 parent d214192 commit 3bbd2fe
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modules/mixins/alloy/base.alloy
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ loki.relabel "omnibus" {

rule {
target_label = "instance"
replacement = local.file.hostname.content
replacement = local.file.hostname.conten
}

rule {
Expand Down
3 changes: 2 additions & 1 deletion modules/tests/alloy/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@ pkgs.testers.runNixOSTest {
};

testScript = ''
import time
machine.wait_for_unit("alloy.service", timeout=10)
machine.wait_for_open_port(12345)
machine.wait_for_open_port(12345, timeout=10)
machine.succeed("curl http://localhost:12345 | grep -o \"Grafana Alloy\"")
'';
}

0 comments on commit 3bbd2fe

Please sign in to comment.