mirror of
https://github.com/prometheus/prometheus
synced 2025-01-12 18:01:36 +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 {
|
for _, tc := range testCases {
|
||||||
tc := tc
|
|
||||||
t.Run(tc.title, func(t *testing.T) {
|
t.Run(tc.title, func(t *testing.T) {
|
||||||
ctx, cancel := context.WithTimeout(context.Background(), 5*time.Second)
|
ctx, cancel := context.WithTimeout(context.Background(), 5*time.Second)
|
||||||
defer cancel()
|
defer cancel()
|
||||||
|
Loading…
Reference in New Issue
Block a user