Skip to content

Commit 603f474

Browse files
committed
changed method names
1 parent 9a02ba3 commit 603f474

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

flink-connector-mongodb-cdc/src/main/java/com/ververica/cdc/connectors/mongodb/internal/MongoDBConnectorSourceTask.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ private boolean isCopying() {
257257
}
258258
}
259259

260-
private void init(Map<String, String> props) {
260+
private void initCapturedCollections(Map<String, String> props) {
261261
ConnectionString connectionString =
262262
new ConnectionString(props.get(MongoSourceConfig.CONNECTION_URI_CONFIG));
263263

flink-connector-mongodb-cdc/src/test/java/com/ververica/cdc/connectors/mongodb/table/MongoDBRegexFilterITCase.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ public void testMatchMultipleDatabases() throws Exception {
152152

153153
/** match single database and multiple collections: collection = ^db0\.coll_b\d?$ . */
154154
@Test
155-
public void testMatchSingleDatabaseAndMultipleCollections() throws Exception {
155+
public void testMatchSingleQualifiedCollectionPattern() throws Exception {
156156
// 1. Given collections:
157157
// db0: [coll_a1, coll_a2, coll_b1, coll_b2]
158158
String db0 = executeCommandFileInSeparateDatabase("ns_regex");
@@ -191,7 +191,7 @@ public void testMatchSingleDatabaseAndMultipleCollections() throws Exception {
191191

192192
/** match single database and multiple collections: database = db0 collection = .*coll_b\d? . */
193193
@Test
194-
public void testMatchSingleDatabaseAndMultipleCollections1() throws Exception {
194+
public void testMatchSingleDatabaseWithCollectionPattern() throws Exception {
195195
// 1. Given collections:
196196
// db0: [coll_a1, coll_a2, coll_b1, coll_b2]
197197
String db0 = executeCommandFileInSeparateDatabase("ns_regex");

0 commit comments

Comments
 (0)