summary refs log tree commit diff
path: root/pkgs/tools/misc/vector
diff options
context:
space:
mode:
authorhappysalada <raphael@megzari.com>2021-08-29 09:33:29 +0900
committerRaphael Megzari <raphael@megzari.com>2021-08-30 10:04:56 +0900
commitf082ab00bd29de3bea7faa1a9654fc45151f86a2 (patch)
treec24cdf806b0a29a148ae46f3bf03391e2c43163e /pkgs/tools/misc/vector
parentfc87d9a067dfb13739388afd4318241c96e66b6a (diff)
downloadnixpkgs-f082ab00bd29de3bea7faa1a9654fc45151f86a2.tar
nixpkgs-f082ab00bd29de3bea7faa1a9654fc45151f86a2.tar.gz
nixpkgs-f082ab00bd29de3bea7faa1a9654fc45151f86a2.tar.bz2
nixpkgs-f082ab00bd29de3bea7faa1a9654fc45151f86a2.tar.lz
nixpkgs-f082ab00bd29de3bea7faa1a9654fc45151f86a2.tar.xz
nixpkgs-f082ab00bd29de3bea7faa1a9654fc45151f86a2.tar.zst
nixpkgs-f082ab00bd29de3bea7faa1a9654fc45151f86a2.zip
vector: disable flaky tests
Diffstat (limited to 'pkgs/tools/misc/vector')
-rw-r--r--pkgs/tools/misc/vector/default.nix11
1 files changed, 10 insertions, 1 deletions
diff --git a/pkgs/tools/misc/vector/default.nix b/pkgs/tools/misc/vector/default.nix
index 4778ecd4fb8..6c559ada963 100644
--- a/pkgs/tools/misc/vector/default.nix
+++ b/pkgs/tools/misc/vector/default.nix
@@ -53,7 +53,16 @@ rustPlatform.buildRustPackage rec {
   # dev dependency includes httpmock which depends on iashc which depends on curl-sys with http2 feature enabled
   # compilation fails because of a missing http2 include
   doCheck = !stdenv.isDarwin;
-  checkPhase = "TZDIR=${tzdata}/share/zoneinfo cargo test --no-default-features --features ${lib.concatStringsSep "," features} -- --test-threads 1";
+  # healthcheck_grafana_cloud is trying to make a network access
+  # test_stream_errors is flaky on linux-aarch64
+  checkPhase = ''
+    TZDIR=${tzdata}/share/zoneinfo cargo test \
+      --no-default-features \
+      --features ${lib.concatStringsSep "," features} \
+      -- --test-threads 1 \
+      --skip=sinks::loki::tests::healthcheck_grafana_cloud \
+      --skip=kubernetes::api_watcher::tests::test_stream_errors
+  '';
 
   # recent overhauls of DNS support in 0.9 mean that we try to resolve
   # vector.dev during the checkPhase, which obviously isn't going to work.