test: ensure the node name is a valid dns name (#6424)

The space in the node name was making every test emit a useless warning.
pull/6428/head
R.B. Boyer 2019-08-29 16:52:13 -05:00 committed by GitHub
parent 3be88df207
commit 7deaba63e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -348,7 +348,7 @@ func TestConfig(sources ...config.Source) *config.RuntimeConfig {
bootstrap = true
server = true
node_id = "` + nodeID + `"
node_name = "Node ` + nodeID + `"
node_name = "Node-` + nodeID + `"
connect {
enabled = true
ca_config {