diff --git a/integ-test/src/test/java/org/opensearch/sql/datasource/DataSourceAPIsIT.java b/integ-test/src/test/java/org/opensearch/sql/datasource/DataSourceAPIsIT.java index f0e9f13ee6..0635c6581b 100644 --- a/integ-test/src/test/java/org/opensearch/sql/datasource/DataSourceAPIsIT.java +++ b/integ-test/src/test/java/org/opensearch/sql/datasource/DataSourceAPIsIT.java @@ -220,7 +220,7 @@ public void issue2196() { Response response = client().performRequest(createRequest); Assert.assertEquals(201, response.getStatusLine().getStatusCode()); String createResponseString = getResponseBody(response); - Assert.assertEquals("Created DataSource with name Create_Prometheus", createResponseString); + Assert.assertEquals("\"Created DataSource with name Create_Prometheus\"", createResponseString); // Datasource is not immediately created. so introducing a sleep of 2s. Thread.sleep(2000);