Commit 08b58d78 authored by Bouke van der Bijl's avatar Bouke van der Bijl
Browse files

opentelemetry-collector-contrib: disable check

As discussed in
https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/31678,
the tests inside cmd/otelcontrib can't be run any more.
parent 3000754f
Loading
Loading
Loading
Loading
+1 −8
Original line number Diff line number Diff line
@@ -39,14 +39,7 @@ buildGoModule rec {
  # it instead of trusting the global $PATH.
  propagatedBuildInputs = lib.optionals withSystemd [ systemdMinimal ];

  preCheck = "export CGO_ENABLED=1";

  checkFlags = [
    # collectd test tries and fails to bind to port 8081
    # mezo test tries to reach external service
    # memory_ballast test fails on darwin for mysterious reasons.
    "-skip=TestDefaultReceivers/collectd|TestDefaultExporters/mezmo${lib.optionalString stdenv.isDarwin "|TestDefaultExtensions/memory_ballast"}"
  ];
  doCheck = false;

  ldflags = [
    "-s"