Skip to content

Commit 92b3a1e

Browse files
authored
gitlab-container-registry: disable flaky test (#390626)
2 parents 297523c + f444b93 commit 92b3a1e

File tree

1 file changed

+12
-5
lines changed

1 file changed

+12
-5
lines changed

pkgs/by-name/gi/gitlab-container-registry/package.nix

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,18 @@ buildGoModule rec {
1919

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

22-
checkFlags = [
23-
# TestHTTPChecker requires internet
24-
# TestS3DriverPathStyle requires s3 credentials/urls
25-
"-skip TestHTTPChecker|TestS3DriverPathStyle"
26-
];
22+
checkFlags =
23+
let
24+
skippedTests = [
25+
# requires internet
26+
"TestHTTPChecker"
27+
# requires s3 credentials/urls
28+
"TestS3DriverPathStyle"
29+
# flaky
30+
"TestPurgeAll"
31+
];
32+
in
33+
[ "-skip=^${builtins.concatStringsSep "$|^" skippedTests}$" ];
2734

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

0 commit comments

Comments
 (0)