Skip to content

Commit

Permalink
integration: add FeatureMergeDiff compat
Browse files Browse the repository at this point in the history
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
  • Loading branch information
crazy-max committed Mar 13, 2023
1 parent 791c4bb commit fd7081c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions client/mergediff_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1187,6 +1187,7 @@ func (tc verifyContents) Name() string {
}

func (tc verifyContents) Run(t *testing.T, sb integration.Sandbox) {
integration.CheckFeatureCompat(t, sb, integration.FeatureMergeDiff)
if tc.skipOnRootless && sb.Rootless() {
t.Skip("rootless")
}
Expand Down
2 changes: 2 additions & 0 deletions util/testutil/integration/sandbox.go
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,7 @@ const (
FeatureFrontendTargets = "frontendTargets"
FeatureImageExporter = "imageExporter"
FeatureInfo = "info"
FeatureMergeDiff = "mergeDiff"
FeatureMultiCacheExport = "multiCacheExport"
FeatureMultiPlatform = "multiPlatform"
FeatureOCIExporter = "ociExporter"
Expand All @@ -309,6 +310,7 @@ var features = map[string]struct{}{
FeatureFrontendTargets: {},
FeatureImageExporter: {},
FeatureInfo: {},
FeatureMergeDiff: {},
FeatureMultiCacheExport: {},
FeatureMultiPlatform: {},
FeatureOCIExporter: {},
Expand Down

0 comments on commit fd7081c

Please sign in to comment.