diff options
author | John Cai <jcai@gitlab.com> | 2023-08-23 17:01:05 +0300 |
---|---|---|
committer | John Cai <jcai@gitlab.com> | 2023-08-23 18:23:18 +0300 |
commit | 65af112b84cfaee958b2e4cb83ac8fbb323ff246 (patch) | |
tree | 900c5cb342fdf8b32953844d5bbb26828dcd9f52 /internal/testhelper | |
parent | 5649e8da1e31fcaa495da9420a56da09b61236f6 (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.go | 2 |
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) |