Spelling fix (#6523)

This commit is contained in:
Maarten van der Hoef 2019-04-03 15:57:32 +02:00 committed by Jim Kalafut
parent a939613f78
commit d98b477a7e
1 changed files with 2 additions and 2 deletions

View File

@ -168,7 +168,7 @@ func TestDynamoDBHABackend(t *testing.T) {
physical.ExerciseHABackend(t, b.(physical.HABackend), b2.(physical.HABackend))
testDynamoDBLockTTL(t, b.(physical.HABackend))
testDynamoDBLockRewewal(t, b.(physical.HABackend))
testDynamoDBLockRenewal(t, b.(physical.HABackend))
}
// Similar to testHABackend, but using internal implementation details to
@ -280,7 +280,7 @@ func testDynamoDBLockTTL(t *testing.T, ha physical.HABackend) {
// Similar to testHABackend, but using internal implementation details to
// trigger a renewal before a "watch" check, which has been a source of
// race conditions.
func testDynamoDBLockRewewal(t *testing.T, ha physical.HABackend) {
func testDynamoDBLockRenewal(t *testing.T, ha physical.HABackend) {
renewInterval := time.Second * 1
watchInterval := time.Second * 5