mirror of
https://github.com/prometheus/prometheus
synced 2024-12-24 15:32:48 +00:00
remove redundant code
Signed-off-by: tyltr <tylitianrui@126.com>
This commit is contained in:
parent
bdc3cfdd5d
commit
b538919258
@ -1091,7 +1091,6 @@ func TestCoordinationWithReceiver(t *testing.T) {
|
||||
}
|
||||
|
||||
for _, tc := range testCases {
|
||||
tc := tc
|
||||
t.Run(tc.title, func(t *testing.T) {
|
||||
ctx, cancel := context.WithTimeout(context.Background(), 5*time.Second)
|
||||
defer cancel()
|
||||
|
Loading…
Reference in New Issue
Block a user