Skip to content

Commit

Permalink
test: isbsvc api test change
Browse files Browse the repository at this point in the history
Signed-off-by: Dillen Padhiar <[email protected]>
  • Loading branch information
dpadhiar committed Oct 23, 2023
1 parent f04fa4c commit e7a0e98
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/api-e2e/api_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ func (s *APISuite) TestISBSVC() {
Expect().
Status(200).Body().Raw()
assert.Contains(s.T(), getISBSVCBody, fmt.Sprintf(`"name":"%s"`, testISBSVCName))
assert.Contains(s.T(), getISBSVCBody, `"status":"healthy"`)
assert.Contains(s.T(), getISBSVCBody, `"status":"inactive"`)

deleteISBSVC := HTTPExpect(s.T(), "https://localhost:8443").DELETE(fmt.Sprintf("/api/v1/namespaces/%s/isb-services/%s", Namespace, testISBSVCName)).
Expect().
Expand Down Expand Up @@ -97,7 +97,7 @@ func (s *APISuite) TestISBSVCReplica1() {
Expect().
Status(200).Body().Raw()
assert.Contains(s.T(), getISBSVCBody, fmt.Sprintf(`"name":"%s"`, testISBSVCReplica1Name))
assert.Contains(s.T(), getISBSVCBody, `"status":"healthy"`)
assert.Contains(s.T(), getISBSVCBody, `"status":"inactive"`)

deleteISBSVC := HTTPExpect(s.T(), "https://localhost:8443").DELETE(fmt.Sprintf("/api/v1/namespaces/%s/isb-services/%s", Namespace, testISBSVCReplica1Name)).
Expect().
Expand Down

0 comments on commit e7a0e98

Please sign in to comment.