diff options
author | Ryan Lahfa <masterancpp@gmail.com> | 2023-10-29 12:48:31 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-29 12:48:31 +0100 |
commit | 72bd71a44a68646de04d476a8efb342c22c416e1 (patch) | |
tree | 98e655d5bd8c07afeaf21d8afb621ae42b008213 | |
parent | 245bad83a76503b804821b53e03ab4af1fad0423 (diff) | |
parent | a000d9fff682f4117b7587bf5050c5c60fd51e1b (diff) |
Merge pull request #263977 from JulienMalka/fix-netdata-test
-rw-r--r-- | nixos/tests/netdata.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/tests/netdata.nix b/nixos/tests/netdata.nix index c5f7294f79abc..e3438f63404e7 100644 --- a/nixos/tests/netdata.nix +++ b/nixos/tests/netdata.nix @@ -30,8 +30,8 @@ import ./make-test-python.nix ({ pkgs, ...} : { # check if netdata can read disk ops for root owned processes. # if > 0, successful. verifies both netdata working and # apps.plugin has elevated capabilities. - url = "http://localhost:19999/api/v1/data\?chart=users.pwrites" - filter = '[.data[range(10)][.labels | indices("root")[0]]] | add | . > 0' + url = "http://localhost:19999/api/v1/data\?chart=user.root_disk_physical_io" + filter = '[.data[range(10)][2]] | add | . < 0' cmd = f"curl -s {url} | jq -e '{filter}'" netdata.wait_until_succeeds(cmd) |