-
Notifications
You must be signed in to change notification settings - Fork 15
MLE-24829 Fixing cloud auth for 1.11.1 release #243
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -11,9 +11,7 @@ | |||||
| import java.util.List; | ||||||
| import java.util.Map; | ||||||
|
|
||||||
| import static org.junit.jupiter.api.Assertions.assertEquals; | ||||||
| import static org.junit.jupiter.api.Assertions.assertNull; | ||||||
| import static org.junit.jupiter.api.Assertions.assertTrue; | ||||||
| import static org.junit.jupiter.api.Assertions.*; | ||||||
|
|
||||||
| class ReadRowsViaOpticDslTest extends AbstractIntegrationSourceTest { | ||||||
|
|
||||||
|
|
@@ -46,6 +44,23 @@ void readFifteenAuthorsAsJson() throws InterruptedException { | |||||
| verifyRecordKeysAreSetToIDColumn(records); | ||||||
| } | ||||||
|
|
||||||
| @Test | ||||||
| void cloudAuth() { | ||||||
| RuntimeException ex = assertThrows(RuntimeException.class, () -> startSourceTask( | ||||||
| MarkLogicSourceConfig.CONNECTION_SECURITY_CONTEXT_TYPE, "cloud", | ||||||
|
||||||
| MarkLogicSourceConfig.CONNECTION_SECURITY_CONTEXT_TYPE, "cloud", | |
| MarkLogicSourceConfig.CONNECTION_SECURITY_CONTEXT_TYPE, "CLOUD", |
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.
[nitpick] Using wildcard imports for static assertions reduces code readability. Consider keeping the explicit imports for
assertEquals,assertNull,assertTrue, andassertThrows(newly used in the test) to make dependencies clear.