Unverified Commit 92b3a1e0 authored by xanderio's avatar xanderio Committed by GitHub
Browse files

gitlab-container-registry: disable flaky test (#390626)

parents 297523cc f444b93a
Loading
Loading
Loading
Loading
+12 −5
Original line number Diff line number Diff line
@@ -19,11 +19,18 @@ buildGoModule rec {

  vendorHash = "sha256-I/umXgVm9a+0Ay3ARuaa4Dua4Zhc5p2TONHvhCt3Qtk=";

  checkFlags = [
    # TestHTTPChecker requires internet
    # TestS3DriverPathStyle requires s3 credentials/urls
    "-skip TestHTTPChecker|TestS3DriverPathStyle"
  checkFlags =
    let
      skippedTests = [
        # requires internet
        "TestHTTPChecker"
        # requires s3 credentials/urls
        "TestS3DriverPathStyle"
        # flaky
        "TestPurgeAll"
      ];
    in
    [ "-skip=^${builtins.concatStringsSep "$|^" skippedTests}$" ];

  meta = with lib; {
    description = "GitLab Docker toolset to pack, ship, store, and deliver content";