@@ -26,6 +26,7 @@ import (
26
26
utilsystem "github.com/moby/buildkit/util/system"
27
27
"github.com/moby/buildkit/util/testutil/echoserver"
28
28
"github.com/moby/buildkit/util/testutil/integration"
29
+ "github.com/moby/buildkit/util/testutil/workers"
29
30
digest "github.com/opencontainers/go-digest"
30
31
"github.com/pkg/errors"
31
32
"github.com/stretchr/testify/require"
@@ -1839,7 +1840,7 @@ func testClientGatewayExecFileActionError(t *testing.T, sb integration.Sandbox)
1839
1840
// testClientGatewayContainerSecurityMode ensures that the correct security mode
1840
1841
// is propagated to the gateway container
1841
1842
func testClientGatewayContainerSecurityMode (t * testing.T , sb integration.Sandbox ) {
1842
- integration .CheckFeatureCompat (t , sb , integration .FeatureSecurityMode )
1843
+ workers .CheckFeatureCompat (t , sb , workers .FeatureSecurityMode )
1843
1844
requiresLinux (t )
1844
1845
1845
1846
ctx := sb .Context ()
@@ -2215,7 +2216,7 @@ func testClientGatewayContainerSignal(t *testing.T, sb integration.Sandbox) {
2215
2216
}
2216
2217
2217
2218
func testClientGatewayNilResult (t * testing.T , sb integration.Sandbox ) {
2218
- integration .CheckFeatureCompat (t , sb , integration .FeatureMergeDiff )
2219
+ workers .CheckFeatureCompat (t , sb , workers .FeatureMergeDiff )
2219
2220
requiresLinux (t )
2220
2221
c , err := New (sb .Context (), sb .Address ())
2221
2222
require .NoError (t , err )
@@ -2250,7 +2251,7 @@ func testClientGatewayNilResult(t *testing.T, sb integration.Sandbox) {
2250
2251
}
2251
2252
2252
2253
func testClientGatewayEmptyImageExec (t * testing.T , sb integration.Sandbox ) {
2253
- integration .CheckFeatureCompat (t , sb , integration .FeatureDirectPush )
2254
+ workers .CheckFeatureCompat (t , sb , workers .FeatureDirectPush )
2254
2255
c , err := New (sb .Context (), sb .Address ())
2255
2256
require .NoError (t , err )
2256
2257
defer c .Close ()
0 commit comments