From 2a57ef439218bafa1af34d4bb62cdc11a49e87a9 Mon Sep 17 00:00:00 2001 From: Aleksey Skvortsov <46933547+Rattysed@users.noreply.github.com> Date: Wed, 5 Feb 2025 14:27:25 +0300 Subject: [PATCH] Turn off disk manager tests influenced by StatVolume (#2979) --- .../pkg/facade/snapshot_service_test/snapshot_service_test.go | 4 +++- cloud/disk_manager/internal/pkg/facade/testcommon/common.go | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/cloud/disk_manager/internal/pkg/facade/snapshot_service_test/snapshot_service_test.go b/cloud/disk_manager/internal/pkg/facade/snapshot_service_test/snapshot_service_test.go index 73df68a8de1..3b28520a8ee 100644 --- a/cloud/disk_manager/internal/pkg/facade/snapshot_service_test/snapshot_service_test.go +++ b/cloud/disk_manager/internal/pkg/facade/snapshot_service_test/snapshot_service_test.go @@ -762,7 +762,9 @@ func TestSnapshotServiceDeleteSnapshotWhenCreationIsInFlight(t *testing.T) { // Should wait here because checkpoint is deleted on |createOp| operation // cancel (and exact time of this event is unknown). - testcommon.WaitForCheckpointsAreEmpty(t, ctx, diskID) + // TODO: enable this check after resolving issue + // https://github.com/ydb-platform/nbs/issues/2008. + // testcommon.WaitForCheckpointsAreEmpty(t, ctx, diskID) testcommon.CheckConsistency(t, ctx) } diff --git a/cloud/disk_manager/internal/pkg/facade/testcommon/common.go b/cloud/disk_manager/internal/pkg/facade/testcommon/common.go index 353765bce0d..1afe621460e 100644 --- a/cloud/disk_manager/internal/pkg/facade/testcommon/common.go +++ b/cloud/disk_manager/internal/pkg/facade/testcommon/common.go @@ -358,7 +358,9 @@ func RequireCheckpointsAreEmpty( ctx context.Context, diskID string, ) { - + // TODO: enable this method after resolving this issue + // https://github.com/ydb-platform/nbs/issues/2008. + return nbsClient := NewNbsTestingClient(t, ctx, "zone-a") checkpoints, err := nbsClient.GetCheckpoints(ctx, diskID) require.NoError(t, err)