@@ -53,7 +53,16 @@ rustPlatform.buildRustPackage rec {
5353 # dev dependency includes httpmock which depends on iashc which depends on curl-sys with http2 feature enabled
5454 # compilation fails because of a missing http2 include
5555 doCheck = !stdenv.isDarwin;
56− checkPhase = "TZDIR=${tzdata}/share/zoneinfo cargo test --no-default-features --features ${lib.concatStringsSep "," features} -- --test-threads 1";
56+ # healthcheck_grafana_cloud is trying to make a network access
57+ # test_stream_errors is flaky on linux-aarch64
58+ checkPhase = ''
59+ TZDIR=${tzdata}/share/zoneinfo cargo test \
60+ --no-default-features \
61+ --features ${lib.concatStringsSep "," features} \
62+ -- --test-threads 1 \
63+ --skip=sinks::loki::tests::healthcheck_grafana_cloud \
64+ --skip=kubernetes::api_watcher::tests::test_stream_errors
65+ '';
5766
5867 # recent overhauls of DNS support in 0.9 mean that we try to resolve
5968 # vector.dev during the checkPhase, which obviously isn't going to work.