Removing reset of quit channel (#3376)

This commit is contained in:
Chris Hoffman 2017-09-26 20:29:42 -04:00 committed by GitHub
parent abcf4b3bb2
commit 375587fbf2
1 changed files with 0 additions and 1 deletions

View File

@ -566,7 +566,6 @@ func TestTokenStore_CreateLookup_ExpirationInRestoreMode(t *testing.T) {
ts.expiration.restoreModeLock.Lock()
ts.expiration.restoreMode = 1
ts.expiration.restoreLocks = locksutil.CreateLocks()
ts.expiration.quitCh = make(chan struct{})
ts.expiration.restoreModeLock.Unlock()
// Test that the token lookup does not return the token entry due to the