rpc: fix TestSession_Renew

make the timing less tight
This commit is contained in:
Frank Schroeder 2017-06-26 13:59:56 +02:00 committed by Frank Schröder
parent 77ff9f680f
commit 4a073aec1c
1 changed files with 1 additions and 1 deletions

View File

@ -532,7 +532,7 @@ func TestSession_ApplyTimers(t *testing.T) {
} }
func TestSession_Renew(t *testing.T) { func TestSession_Renew(t *testing.T) {
ttl := 250 * time.Millisecond ttl := time.Second
TTL := ttl.String() TTL := ttl.String()
dir1, s1 := testServerWithConfig(t, func(c *Config) { dir1, s1 := testServerWithConfig(t, func(c *Config) {