LuanaMihailescu commented on code in PR #4568:
URL: https://github.com/apache/flink-cdc/pull/4568#discussion_r4379395069
##########
flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mongodb-cdc/src/test/java/org/apache/flink/cdc/connectors/mongodb/internal/MongoDBEnvelopeTest.java:
##########
@@ -0,0 +1,15 @@
+package org.apache.flink.cdc.connectors.mongodb.internal;
+
+import org.junit.jupiter.api.Test;
+
+import static org.junit.jupiter.api.Assertions.*;
+
+class MongoDBEnvelopeTest {
+
+ @Test
+ void shouldEncodeSpacesAsPercent20() {
Review Comment:
Done in
[0515300](https://github.com/apache/flink-cdc/pull/4568/changes/05153006073ee2aa2dd4ecfff300303356df5fa6)
— added end-to-end tests to `MongoDBParallelSourceITCase`
(`testPasswordContainingSpaces` and `testUsernameAndPasswordContainingSpaces`)
that create a real MongoDB user with spaces in the credentials and verify the
CDC source authenticates and reads data correctly through the full
SQL/connector pipeline.
--
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]