Skip to content

Commit eaa2f95

Browse files
authored
fix:EtcdInstanceRegisterRepositoryTest run error (#6127)
1 parent 9e8576a commit eaa2f95

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

shenyu-registry/shenyu-registry-etcd/src/test/java/org/apache/shenyu/registry/etcd/EtcdInstanceRegisterRepositoryTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@ public void testSelectInstancesAndWatcher() {
152152
})) {
153153
final EtcdInstanceRegisterRepository repository = new EtcdInstanceRegisterRepository();
154154
RegisterConfig config = new RegisterConfig();
155+
config.setServerLists("http://localhost:2379");
155156
repository.init(config);
156157
repository.persistInstance(data);
157158
repository.selectInstances(InstancePathConstants.buildInstanceParentPath());

0 commit comments

Comments
 (0)