local state: rename tests

This commit is contained in:
Frank Schroeder 2017-08-28 14:17:18 +02:00 committed by Frank Schröder
parent f43972fdc2
commit 71e4d7cd1c
1 changed files with 3 additions and 3 deletions

View File

@ -1298,7 +1298,7 @@ func TestAgentAntiEntropy_NodeInfo(t *testing.T) {
} }
} }
func TestAgent_serviceTokens(t *testing.T) { func TestAgent_ServiceTokens(t *testing.T) {
t.Parallel() t.Parallel()
tokens := new(token.Store) tokens := new(token.Store)
@ -1326,7 +1326,7 @@ func TestAgent_serviceTokens(t *testing.T) {
} }
} }
func TestAgent_checkTokens(t *testing.T) { func TestAgent_CheckTokens(t *testing.T) {
t.Parallel() t.Parallel()
tokens := new(token.Store) tokens := new(token.Store)
@ -1353,7 +1353,7 @@ func TestAgent_checkTokens(t *testing.T) {
} }
} }
func TestAgent_checkCriticalTime(t *testing.T) { func TestAgent_CheckCriticalTime(t *testing.T) {
t.Parallel() t.Parallel()
lcfg := agent.LocalConfig(config.DefaultRuntimeConfig(`bind_addr = "127.0.0.1" data_dir = "dummy"`)) lcfg := agent.LocalConfig(config.DefaultRuntimeConfig(`bind_addr = "127.0.0.1" data_dir = "dummy"`))
l := local.NewState(lcfg, nil, new(token.Store), make(chan struct{}, 1)) l := local.NewState(lcfg, nil, new(token.Store), make(chan struct{}, 1))