adutra commented on code in PR #590:
URL: https://github.com/apache/polaris/pull/590#discussion_r1910233923
##########
integration-tests/src/main/java/org/apache/polaris/service/it/test/PolarisManagementServiceIntegrationTest.java:
##########
@@ -546,11 +403,10 @@ public void testCreateCatalogWithoutStorageConfig()
throws JsonProcessingExcepti
}
@Test
- public void testCreateCatalogWithUnparsableJson() throws
JsonProcessingException {
+ public void testCreateCatalogWithUnparsableJson() {
String catalogString = "{\"catalog\": {{\"bad data}";
try (Response response =
- newRequest("http://localhost:%d/api/management/v1/catalogs", userToken)
- .post(Entity.json(catalogString))) {
+ managementApi.request("v1/catalogs").post(Entity.json(catalogString)))
{
assertThat(response)
.returns(Response.Status.BAD_REQUEST.getStatusCode(),
Response::getStatus);
ErrorResponse error = response.readEntity(ErrorResponse.class);
Review Comment:
And BTW, this is the only test still failing with the Quarkus runtime.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]