Skip to content

Commit

Permalink
removed unnecessary comments
Browse files Browse the repository at this point in the history
Signed-off-by: Boyang Lyu <[email protected]>
  • Loading branch information
JackL9u committed Aug 8, 2024
1 parent 2d278ca commit 6c7de04
Showing 1 changed file with 0 additions and 31 deletions.
31 changes: 0 additions & 31 deletions tests/integrations/client/http_client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -873,15 +873,6 @@ func (suite *httpClientTestSuite) TestGetSafePoint() {
}
storage.SaveGCSafePoint(1)

// for _, s := range testServers {
// storage := s.GetServer().GetStorage()
// for _, ssp := range list.ServiceGCSafepoints {
// err := storage.SaveServiceGCSafePoint(ssp)
// re.NoError(err)
// }
// storage.SaveGCSafePoint(1)
// }

l, err := client.GetGCSafePoint(ctx)
re.NoError(err)

Expand Down Expand Up @@ -921,25 +912,3 @@ func (suite *httpClientTestSuite) TestGetSafePoint() {
_, err4 := client.DeleteGCSafePoint(ctx, "gc_worker")
re.Error(err4)
}

// func (suite *httpClientTestSuite) TestDeleteSafePoint() {
// re := suite.Require()
// client := suite.client
// ctx, cancel := context.WithCancel(suite.ctx)
// defer cancel()

// msg1, err1 := client.DeleteGCSafePoint(ctx, "AAA")
// re.NoError(err1)
// re.Equal("Delete service GC safepoint successfully.", msg1)

// msg2, err2 := client.DeleteGCSafePoint(ctx, "BBB")
// re.NoError(err2)
// re.Equal("Delete service GC safepoint successfully.", msg2)

// msg3, err3 := client.DeleteGCSafePoint(ctx, "DDD")
// re.NoError(err3)
// re.Equal("Delete service GC safepoint successfully.", msg3)

// _, err4 := client.DeleteGCSafePoint(ctx, "gc_worker")
// re.Error(err4)
// }

0 comments on commit 6c7de04

Please sign in to comment.