Skip to content

Commit baf2fd4

Browse files
committed
[Bug]fix issue #418
UT testcase TestDisaggregatedSubDefaultController_BuildVolumesVolumeMountsAndPVCs_persistentVolume failed;
1 parent bec13e6 commit baf2fd4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/controller/sub_controller/disaggregated_subcontroller_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ func TestDisaggregatedSubDefaultController_BuildVolumesVolumeMountsAndPVCs_persi
6767
if len(fevs) != 2 || len(fevms) != 2 || len(fepvcs) != 2 {
6868
t.Errorf("build fe default volumes volumemounts and pvcs failed, the number is not right.")
6969
}
70-
if len(bevs) !=3 || len(bevms) !=3 || len(bepvcs) != 3 {
70+
if len(bevs) != 4 || len(bevms) != 4 || len(bepvcs) != 4 {
7171
t.Errorf("build be default volumes volumemounts and pvcs failed, the number is not right.")
7272
}
7373
if len(msvs) != 1 ||len(msvms) != 1 || len(mspvcs) != 1 {
@@ -115,4 +115,4 @@ func TestDisaggregatedSubDefaultController_PersistentVolumeArrayBuildVolumesVolu
115115
if len(msvs) != 2 ||len(msvms) != 2 || len(mspvcs) != 2 {
116116
t.Errorf("build ms default volumes volumemounts and pvcs failed, the number is not right.")
117117
}
118-
}
118+
}

0 commit comments

Comments
 (0)