fix no dataSet when nacos server started (#9677)
* Close Comment * runci * check style
This commit is contained in:
parent
dfcdd391af
commit
a7a5ced21a
@ -60,6 +60,7 @@ public class ChooserTest {
|
||||
assertTrue(target.getWeight() > 0);
|
||||
}
|
||||
|
||||
// getOneInstanceNotZeroList
|
||||
private List<Instance> getOneInstanceNotZeroList() {
|
||||
List<Instance> list = new ArrayList<>();
|
||||
int size = ThreadLocalRandom.current().nextInt(0, 1000);
|
||||
|
@ -34,7 +34,7 @@ server.port=8848
|
||||
### Deprecated configuration property, it is recommended to use `spring.sql.init.platform` replaced.
|
||||
# spring.datasource.platform=mysql
|
||||
# nacos.plugin.datasource.log.enabled=true
|
||||
spring.sql.init.platform=mysql
|
||||
#spring.sql.init.platform=mysql
|
||||
### Count of DB:
|
||||
# db.num=1
|
||||
|
||||
@ -104,10 +104,6 @@ server.tomcat.basedir=file:.
|
||||
#*************** Access Control Related Configurations ***************#
|
||||
### If enable spring security, this option is deprecated in 1.2.0:
|
||||
#spring.security.enabled=false
|
||||
db.num=1
|
||||
db.url.0=jdbc:mysql://127.0.0.1:3306/nacos?characterEncoding=utf8&connectTimeout=1000&socketTimeout=10000&autoReconnect=true
|
||||
db.user=root
|
||||
db.password=11021102
|
||||
### The ignore urls of auth, is deprecated in 1.2.0:
|
||||
nacos.security.ignore.urls=/,/error,/**/*.css,/**/*.js,/**/*.html,/**/*.map,/**/*.svg,/**/*.png,/**/*.ico,/console-ui/public/**,/v1/auth/**,/v1/console/health/**,/actuator/**,/v1/console/server/**
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user