Skip to content

Commit

Permalink
localhost test
Browse files Browse the repository at this point in the history
  • Loading branch information
HbnKing committed Jan 8, 2024
1 parent ca18e30 commit f29229a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
4 changes: 1 addition & 3 deletions mars-test/src/test/java/com/whaleal/mars/Constant.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@
public class Constant {



public final static String connectionStr = "mongodb://root:[email protected]:27000,172.234.85.22:27000,172.234.85.23:27000/wh?replicaSet=appdb&authSource=admin";

public final static String connectionStr = "mongodb://localhost:6001,localhost:6002,localhost:6003/wh";


}
3 changes: 1 addition & 2 deletions mars-test/src/test/resources/application.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
spring:
data:
mongodb:
uri: mongodb://192.168.11.23:27018,192.168.11.23:27019,192.168.11.23:27020/test
# uri: mongodb://root:[email protected]:27000,172.234.85.22:27000,172.234.85.23:27000/wh?replicaSet=appdb&authSource=admin
uri: mongodb://localhost:6001,localhost:6002,localhost:6003/wh

0 comments on commit f29229a

Please sign in to comment.