Skip to content

Commit

Permalink
fix: update comments
Browse files Browse the repository at this point in the history
  • Loading branch information
BarryTong65 committed Mar 28, 2024
1 parent d21756b commit 7d74a14
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions e2e/e2e_storage_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,19 +39,11 @@ func (s *StorageTestSuite) SetupSuite() {
spList, err := s.Client.ListStorageProviders(s.ClientContext, false)
s.Require().NoError(err)
for _, sp := range spList {
if sp.Endpoint != "https://sp0.greenfield.io" {
if sp.Endpoint != "https://sp0.greenfield.io" && sp.Id == 1 {
s.PrimarySP = sp
break
}
}
s.T().Log("---> QuerySpAvailableGlobalVirtualGroupFamilies <---")
for i := 0; i < 10; i++ {
families, _ := s.Client.QuerySpAvailableGlobalVirtualGroupFamilies(s.ClientContext, s.PrimarySP.Id)
if len(families) > 0 {
break
}
time.Sleep(3 * time.Second)
}
}

func TestStorageTestSuite(t *testing.T) {
Expand Down

0 comments on commit 7d74a14

Please sign in to comment.