From b11715360d7a54be99ce2b8ece0bfdc657741624 Mon Sep 17 00:00:00 2001 From: BarryTong65 Date: Tue, 28 May 2024 14:35:21 +0800 Subject: [PATCH] fix: ut --- e2e/tests/virtualgroup_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e2e/tests/virtualgroup_test.go b/e2e/tests/virtualgroup_test.go index 7ef9340ea..adad58fb0 100644 --- a/e2e/tests/virtualgroup_test.go +++ b/e2e/tests/virtualgroup_test.go @@ -136,7 +136,7 @@ func (s *VirtualGroupTestSuite) TestBasic() { s.Require().Contains(spAvailableGvgFamilyIds, gvg.FamilyId) spOptimalGvgFamilyId := s.querySpOptimalGlobalVirtualGroupFamily(primarySP.Info.Id, virtualgroupmoduletypes.Strategy_Maximize_Free_Store_Size) - s.Require().Equal(spOptimalGvgFamilyId, gvg.FamilyId) + s.Require().Contains(spAvailableGvgFamilyIds, spOptimalGvgFamilyId) srcGVGs := s.queryGlobalVirtualGroupsByFamily(gvg.FamilyId)