From b3195006b1b68ce70b4676578b56e86fbe61032c Mon Sep 17 00:00:00 2001 From: Frank Schroeder Date: Mon, 28 Aug 2017 14:17:18 +0200 Subject: [PATCH] local state: rename tests --- agent/local/state_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/agent/local/state_test.go b/agent/local/state_test.go index 49a70669a..c01d58237 100644 --- a/agent/local/state_test.go +++ b/agent/local/state_test.go @@ -1298,7 +1298,7 @@ func TestAgentAntiEntropy_NodeInfo(t *testing.T) { } } -func TestAgent_serviceTokens(t *testing.T) { +func TestAgent_ServiceTokens(t *testing.T) { t.Parallel() 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() 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() 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))