diff --git a/changelogs/unreleased/9663-Lyndon-Li‎‎ b/changelogs/unreleased/9672-Lyndon-Li‎‎ similarity index 100% rename from changelogs/unreleased/9663-Lyndon-Li‎‎ rename to changelogs/unreleased/9672-Lyndon-Li‎‎ diff --git a/pkg/datamover/backup_micro_service_test.go b/pkg/datamover/backup_micro_service_test.go index 160fcaac7..c5a9a4487 100644 --- a/pkg/datamover/backup_micro_service_test.go +++ b/pkg/datamover/backup_micro_service_test.go @@ -259,8 +259,8 @@ func TestCancelDataUpload(t *testing.T) { }{ { name: "no fs backup", - expectedEventReason: datapath.EventReasonCancelled, - expectedEventMsg: "Data path for data upload fake-data-upload canceled", + expectedEventReason: datapath.EventReasonStopped, + expectedEventMsg: "Data path for fake-data-upload exited without start", expectedErr: datapath.ErrCancelled, }, } diff --git a/pkg/datamover/restore_micro_service_test.go b/pkg/datamover/restore_micro_service_test.go index f315ef639..a53e4d6d5 100644 --- a/pkg/datamover/restore_micro_service_test.go +++ b/pkg/datamover/restore_micro_service_test.go @@ -203,8 +203,8 @@ func TestCancelDataDownload(t *testing.T) { }{ { name: "no fs restore", - expectedEventReason: datapath.EventReasonCancelled, - expectedEventMsg: "Data path for data download fake-data-download canceled", + expectedEventReason: datapath.EventReasonStopped, + expectedEventMsg: "Data path for fake-data-download exited without start", expectedErr: datapath.ErrCancelled, }, } diff --git a/pkg/podvolume/backup_micro_service_test.go b/pkg/podvolume/backup_micro_service_test.go index eb10b622a..a5b6cd1f4 100644 --- a/pkg/podvolume/backup_micro_service_test.go +++ b/pkg/podvolume/backup_micro_service_test.go @@ -258,8 +258,8 @@ func TestCancelPodVolumeBackup(t *testing.T) { }{ { name: "no fs backup", - expectedEventReason: datapath.EventReasonCancelled, - expectedEventMsg: "Data path for PVB fake-pvb canceled", + expectedEventReason: datapath.EventReasonStopped, + expectedEventMsg: "Data path for fake-pvb exited without start", expectedErr: datapath.ErrCancelled, }, } diff --git a/pkg/podvolume/restore_micro_service_test.go b/pkg/podvolume/restore_micro_service_test.go index 07e2056b0..2c94ddf46 100644 --- a/pkg/podvolume/restore_micro_service_test.go +++ b/pkg/podvolume/restore_micro_service_test.go @@ -284,8 +284,8 @@ func TestCancelPodVolumeRestore(t *testing.T) { }{ { name: "no fs restore", - expectedEventReason: datapath.EventReasonCancelled, - expectedEventMsg: "Data path for PVR fake-pvr canceled", + expectedEventReason: datapath.EventReasonStopped, + expectedEventMsg: "Data path for fake-pvr exited without start", expectedErr: datapath.ErrCancelled, }, }