remove/cleanup/etc

This commit is contained in:
Zoltan Haindrich 2024-08-06 16:45:43 +00:00
parent 23c6f3bd96
commit dbe2674971
3 changed files with 2 additions and 34 deletions

View File

@ -1,32 +0,0 @@
!set isNative false
!set isMSQ true
!set plannerStrategy DECOUPLED
!if (isMSQ) {
!use druidtest://?componentSupplier=DrillWindowQueryMSQComponentSupplier
!}
!if (isNative) {
!use druidtest://?numMergeBuffers=3
!}
!set outputformat mysql
select 2;
+--------+
| EXPR$0 |
+--------+
| 2 |
+--------+
(1 row)
!ok
!msqPlan
!if (isMSQ) {
!msqPlan
!}
!if (isNative) {
!msqPlan
!}

View File

@ -69,8 +69,8 @@ public class LauncherSmokeTest
HttpGet request = new HttpGet("http://localhost:12345/status"); HttpGet request = new HttpGet("http://localhost:12345/status");
request.addHeader("Content-Type", "application/json"); request.addHeader("Content-Type", "application/json");
CloseableHttpResponse response = client.execute(request); CloseableHttpResponse response = client.execute(request);
assertEquals(200, response.getStatusLine().getStatusCode());
String responseStr = EntityUtils.toString(response.getEntity()); String responseStr = EntityUtils.toString(response.getEntity());
MatcherAssert.assertThat(responseStr, Matchers.containsString("\"version\":\"")); MatcherAssert.assertThat(responseStr, Matchers.containsString("\"version\":\""));
assertEquals(200, response.getStatusLine().getStatusCode());
} }
} }

View File

@ -218,7 +218,7 @@ public class AuthorizationUtils
} }
if (request.getAttribute(AuthConfig.DRUID_AUTHORIZATION_CHECKED) != null) { if (request.getAttribute(AuthConfig.DRUID_AUTHORIZATION_CHECKED) != null) {
//throw new ISE("Request already had authorization check."); throw new ISE("Request already had authorization check.");
} }
Access access = authorizeAllResourceActions( Access access = authorizeAllResourceActions(