-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add security ITs to the revised integration tests #15885
Conversation
integration-tests-ex/cases/src/test/java/org/apache/druid/testsEx/config/Initializer.java
Fixed
Show fixed
Hide fixed
integration-tests-ex/cases/src/test/java/org/apache/druid/testsEx/config/Initializer.java
Fixed
Show fixed
Hide fixed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Minor comments.
@@ -187,6 +190,14 @@ public HttpClient getHttpClient( | |||
return delegate; | |||
} | |||
|
|||
@Provides | |||
@AdminClient | |||
public HttpClient getAdminClientClient(@Client HttpClient delegate) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: Should the method name be getAdminClient
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changed
} | ||
|
||
@Test | ||
public void testExportWithoutPermissions() throws IOException, ExecutionException, InterruptedException |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should we add a positive test case as well?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added a test
This PR has: