redis: increase timeout on test (#2425)

This commit is contained in:
Caleb Doxsey 2021-08-02 17:11:33 -06:00 committed by GitHub
parent a64e5b5fa1
commit 5e2ca68e94
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -124,12 +124,10 @@ func TestChangeSignal(t *testing.T) {
}
ctx := context.Background()
ctx, clearTimeout := context.WithTimeout(ctx, time.Second*10)
defer clearTimeout()
ctx, cancel := context.WithCancel(ctx)
defer cancel()
require.NoError(t, testutil.WithTestRedis(false, func(rawURL string) error {
ctx, clearTimeout := context.WithTimeout(ctx, time.Second*30)
defer clearTimeout()
ready := make(chan struct{})
var eg errgroup.Group
eg.Go(func() error {