gitlab-container-registry: disable flaky test (#390626)
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user