@@ -52,7 +52,7 @@ func getTestGCEDriverWithCustomMounter(t *testing.T, mounter *mount.SafeFormatAn
5252func getCustomTestGCEDriver (t * testing.T , mounter * mount.SafeFormatAndMount , deviceUtils deviceutils.DeviceUtils , metaService metadataservice.MetadataService ) * GCEDriver {
5353 gceDriver := GetGCEDriver ()
5454 enableDataCache := false
55- nodeServer := NewNodeServer (gceDriver , mounter , deviceUtils , metaService , mountmanager .NewFakeStatter (mounter ), NodeServerArgs {true , 0 , enableDataCache })
55+ nodeServer := NewNodeServer (gceDriver , mounter , deviceUtils , metaService , mountmanager .NewFakeStatter (mounter ), NodeServerArgs {true , 0 , enableDataCache , false /*dataCacheEnableNodePool */ })
5656 err := gceDriver .SetupGCEDriver (driver , "test-vendor" , nil , nil , nil , nil , nodeServer )
5757 if err != nil {
5858 t .Fatalf ("Failed to setup GCE Driver: %v" , err )
@@ -63,7 +63,7 @@ func getCustomTestGCEDriver(t *testing.T, mounter *mount.SafeFormatAndMount, dev
6363func getTestBlockingMountGCEDriver (t * testing.T , readyToExecute chan chan struct {}) * GCEDriver {
6464 gceDriver := GetGCEDriver ()
6565 mounter := mountmanager .NewFakeSafeBlockingMounter (readyToExecute )
66- nodeServer := NewNodeServer (gceDriver , mounter , deviceutils .NewFakeDeviceUtils (false ), metadataservice .NewFakeService (), mountmanager .NewFakeStatter (mounter ), NodeServerArgs {true , 0 , true })
66+ nodeServer := NewNodeServer (gceDriver , mounter , deviceutils .NewFakeDeviceUtils (false ), metadataservice .NewFakeService (), mountmanager .NewFakeStatter (mounter ), NodeServerArgs {true , 0 , true , false /*dataCacheEnableNodePool */ })
6767 err := gceDriver .SetupGCEDriver (driver , "test-vendor" , nil , nil , nil , nil , nodeServer )
6868 if err != nil {
6969 t .Fatalf ("Failed to setup GCE Driver: %v" , err )
@@ -75,7 +75,7 @@ func getTestBlockingFormatAndMountGCEDriver(t *testing.T, readyToExecute chan ch
7575 gceDriver := GetGCEDriver ()
7676 enableDataCache := true
7777 mounter := mountmanager .NewFakeSafeBlockingMounter (readyToExecute )
78- nodeServer := NewNodeServer (gceDriver , mounter , deviceutils .NewFakeDeviceUtils (false ), metadataservice .NewFakeService (), mountmanager .NewFakeStatter (mounter ), NodeServerArgs {true , 0 , enableDataCache }).WithSerializedFormatAndMount (5 * time .Second , 1 )
78+ nodeServer := NewNodeServer (gceDriver , mounter , deviceutils .NewFakeDeviceUtils (false ), metadataservice .NewFakeService (), mountmanager .NewFakeStatter (mounter ), NodeServerArgs {true , 0 , enableDataCache , false /*dataCacheEnableNodePool */ }).WithSerializedFormatAndMount (5 * time .Second , 1 )
7979
8080 err := gceDriver .SetupGCEDriver (driver , "test-vendor" , nil , nil , nil , nil , nodeServer )
8181 if err != nil {
0 commit comments