Skip to content

Commit 142a62c

Browse files
committed
try fix
1 parent 20af6f4 commit 142a62c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

ci/mongodb/config-replica.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
rsconf = {
22
_id: "rs0",
3-
members: [{ _id: 0, host: "mongodb:27017", priority: 1.0 }],
3+
members: [{ _id: 0, host: "localhost:27017", priority: 1.0 }],
44
};
55
rs.initiate(rsconf);
66
rs.status();

e2e_test/source/cdc_inline/mongodb/mongo_basic.slt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ control substitution on
44
statement ok
55
CREATE TABLE users (_id JSONB PRIMARY KEY, payload JSONB) WITH (
66
connector = 'mongodb-cdc',
7-
mongodb.url = 'mongodb://mongodb:27017/?replicaSet=rs0',
7+
mongodb.url = 'mongodb://localhost:27017/?replicaSet=rs0',
88
collection.name = 'random_data.*'
99
);
1010

@@ -22,4 +22,4 @@ sleep 5s
2222
query I
2323
select count(*) from normalized_users;
2424
----
25-
1000
25+
25

0 commit comments

Comments
 (0)