Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Cai <jcai@gitlab.com>2023-08-23 17:01:05 +0300
committerJohn Cai <jcai@gitlab.com>2023-08-23 18:23:18 +0300
commit65af112b84cfaee958b2e4cb83ac8fbb323ff246 (patch)
tree900c5cb342fdf8b32953844d5bbb26828dcd9f52 /internal/testhelper
parent5649e8da1e31fcaa495da9420a56da09b61236f6 (diff)
command: Remove RunCmdInCgroup feature flag
Cgroups have been running production by default for a long time now. Let's remove the feature flag completely.
Diffstat (limited to 'internal/testhelper')
-rw-r--r--internal/testhelper/testhelper.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/testhelper/testhelper.go b/internal/testhelper/testhelper.go
index 897afe429..d588b23fa 100644
--- a/internal/testhelper/testhelper.go
+++ b/internal/testhelper/testhelper.go
@@ -235,7 +235,7 @@ func ContextWithoutCancel(opts ...ContextOpt) context.Context {
// There are some feature flags we need to enable in this function because they end up very
// deep in the call stack, so almost every test function would have to inject it into its
// context. The values of these flags should be randomized to increase the test coverage.
- ctx = featureflag.ContextWithFeatureFlag(ctx, featureflag.RunCommandsInCGroup, true)
+
// Randomly enable mailmap
ctx = featureflag.ContextWithFeatureFlag(ctx, featureflag.MailmapOptions, rand.Int()%2 == 0)