mirror of
https://github.com/pomerium/pomerium.git
synced 2025-04-29 10:26:29 +02:00
redis: increase timeout on test (#2425)
This commit is contained in:
parent
a64e5b5fa1
commit
5e2ca68e94
1 changed files with 3 additions and 5 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue