Fix windows test graphdriver setting

Signed-off-by: Derek McGowan <derek@mcg.dev>
This commit is contained in:
Derek McGowan
2025-07-09 19:51:05 -07:00
parent 8700bca2bf
commit b41babafaa

View File

@@ -1094,7 +1094,10 @@ func NewDaemon(ctx context.Context, config *config.Config, pluginStore *plugin.S
case "":
// Use graph driver but enable migration
driverName = "windowsfilter"
migrationThreshold = 0
if os.Getenv("TEST_INTEGRATION_USE_GRAPHDRIVER") == "" {
// Don't force migration if graph driver is explicit
migrationThreshold = 0
}
default:
log.G(ctx).Infof("Using non-default snapshotter %s", driverName)