diff --git a/cloud/blockstore/tools/csi_driver/internal/driver/node_test.go b/cloud/blockstore/tools/csi_driver/internal/driver/node_test.go index 1517abb2ba..a27d907192 100644 --- a/cloud/blockstore/tools/csi_driver/internal/driver/node_test.go +++ b/cloud/blockstore/tools/csi_driver/internal/driver/node_test.go @@ -335,6 +335,13 @@ func doTestStagedPublishUnpublishVolumeForKubevirt(t *testing.T, backend string, }) require.NoError(t, err) + // TODO: enable check that target directory is deleted + // mock mounter should remove targetPath but if it does then TestGetVolumeStatCapabilitiesWithoutVmMode + // fails because it relies on other tests leaving target directory (it fails if launched alone) + // + //_, err = os.Stat(targetPath) + //assert.True(t, os.IsNotExist(err)) + if backend == "nbs" { nbsClient.On("StopEndpoint", ctx, &nbs.TStopEndpointRequest{ UnixSocketPath: nbsSocketPath,