mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-09-03 14:47:08 +00:00
Merge branch 'main' into vgdp-ms-resume-pvb-pvr
This commit is contained in:
@@ -190,7 +190,7 @@ func Test_getDataPathConfigs(t *testing.T) {
|
||||
s.getDataPathConfigs()
|
||||
assert.Equal(t, test.expectConfigs, s.dataPathConfigs)
|
||||
if test.expectLog == "" {
|
||||
assert.Equal(t, "", logBuffer)
|
||||
assert.Empty(t, logBuffer)
|
||||
} else {
|
||||
assert.Contains(t, logBuffer, test.expectLog)
|
||||
}
|
||||
@@ -408,7 +408,7 @@ func Test_getDataPathConcurrentNum(t *testing.T) {
|
||||
num := s.getDataPathConcurrentNum(defaultNum)
|
||||
assert.Equal(t, test.expectNum, num)
|
||||
if test.expectLog == "" {
|
||||
assert.Equal(t, "", logBuffer)
|
||||
assert.Empty(t, logBuffer)
|
||||
} else {
|
||||
assert.Contains(t, logBuffer, test.expectLog)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user