diff --git a/pkg/controller/sub_controller/disaggregated_subcontroller_test.go b/pkg/controller/sub_controller/disaggregated_subcontroller_test.go index 97dbacfe..bdf9b5b8 100644 --- a/pkg/controller/sub_controller/disaggregated_subcontroller_test.go +++ b/pkg/controller/sub_controller/disaggregated_subcontroller_test.go @@ -67,7 +67,7 @@ func TestDisaggregatedSubDefaultController_BuildVolumesVolumeMountsAndPVCs_persi if len(fevs) != 2 || len(fevms) != 2 || len(fepvcs) != 2 { t.Errorf("build fe default volumes volumemounts and pvcs failed, the number is not right.") } - if len(bevs) !=3 || len(bevms) !=3 || len(bepvcs) != 3 { + if len(bevs) != 4 || len(bevms) != 4 || len(bepvcs) != 4 { t.Errorf("build be default volumes volumemounts and pvcs failed, the number is not right.") } if len(msvs) != 1 ||len(msvms) != 1 || len(mspvcs) != 1 { @@ -115,4 +115,4 @@ func TestDisaggregatedSubDefaultController_PersistentVolumeArrayBuildVolumesVolu if len(msvs) != 2 ||len(msvms) != 2 || len(mspvcs) != 2 { t.Errorf("build ms default volumes volumemounts and pvcs failed, the number is not right.") } -} \ No newline at end of file +}