mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-08-21 14:46:07 +00:00
snapshot size in restore CRs only
Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
This commit is contained in:
@@ -856,7 +856,6 @@ func TestOnDataUploadCompleted(t *testing.T) {
|
||||
Source: datapath.AccessPoint{
|
||||
ByPath: "fake-path",
|
||||
},
|
||||
TotalBytes: int64(1000),
|
||||
},
|
||||
})
|
||||
updatedDu := &velerov2alpha1api.DataUpload{}
|
||||
@@ -865,7 +864,6 @@ func TestOnDataUploadCompleted(t *testing.T) {
|
||||
assert.False(t, updatedDu.Status.CompletionTimestamp.IsZero())
|
||||
assert.Equal(t, "fake-id", updatedDu.Status.SnapshotID)
|
||||
assert.Equal(t, "fake-path", updatedDu.Status.Path)
|
||||
assert.Equal(t, int64(1000), updatedDu.Status.SnapshotSize)
|
||||
}
|
||||
|
||||
func TestFindDataUploadForPod(t *testing.T) {
|
||||
|
||||
Reference in New Issue
Block a user