outlierdetection: remove an unused variable in a test (#5778)

This commit is contained in:
Easwar Swaminathan 2022-11-09 15:01:44 -08:00 committed by GitHub
parent 81db25066b
commit 5331dbd3ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 2 deletions

View File

@ -725,8 +725,6 @@ func (s) TestDurationOfInterval(t *testing.T) {
},
})
ctx, cancel = context.WithTimeout(context.Background(), defaultTestTimeout)
defer cancel()
// No timer should have been started.
sCtx, cancel := context.WithTimeout(context.Background(), defaultTestShortTimeout)
defer cancel()