Skip to content

Commit

Permalink
Fix integration test
Browse files Browse the repository at this point in the history
Signed-off-by: Derek Ho <[email protected]>
  • Loading branch information
derek-ho committed Oct 13, 2023
1 parent b179c49 commit f336064
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ public void updateDataSourceAPITest() {
Request patchRequest = getPatchDataSourceRequest(updateDS);
Response patchResponse = client().performRequest(patchRequest);
Assert.assertEquals(200, patchResponse.getStatusLine().getStatusCode());
String patchResponseString = getResponseBody(updateResponse);
String patchResponseString = getResponseBody(patchResponse);
Assert.assertEquals("\"Updated DataSource with name update_prometheus\"", patchResponseString);

// Datasource is not immediately updated. so introducing a sleep of 2s.
Expand Down

0 comments on commit f336064

Please sign in to comment.