yifan-c commented on code in PR #200: URL: https://github.com/apache/cassandra-sidecar/pull/200#discussion_r1964757919
########## integration-tests/src/integrationTest/org/apache/cassandra/sidecar/routes/CassandraSchemaRouteIntegrationTest.java: ########## @@ -43,9 +43,10 @@ protected void initializeSchemaForTest() void testListKeyspaces() { String testRoute = "/api/v1/schema/keyspaces"; - SchemaResponse response = getBlocking(trustedClient().get(server.actualPort(), "localhost", testRoute) - .expect(ResponsePredicate.SC_OK) - .send()) + SchemaResponse response = getBlocking(trustedClient() + .get(server.actualPort(), "localhost", testRoute) + .send() + .expecting(HttpResponseExpectation.SC_OK)) Review Comment: `expecting` is replacing the deprecated `expect` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: pr-unsubscr...@cassandra.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: pr-unsubscr...@cassandra.apache.org For additional commands, e-mail: pr-h...@cassandra.apache.org