1
0

Other: Increase integration test timeouts

This commit is contained in:
James Houlahan
2022-10-20 14:14:08 +02:00
parent 1729c085c7
commit c20143c212
3 changed files with 16 additions and 26 deletions

View File

@ -21,7 +21,6 @@ import (
"context"
"errors"
"fmt"
"time"
"github.com/cucumber/godog"
"github.com/google/uuid"
@ -222,11 +221,9 @@ func (s *scenario) userIsListedAndConnected(username string) error {
}
func (s *scenario) userIsEventuallyListedAndConnected(username string) error {
return eventually(
func() error { return s.userIsListedAndConnected(username) },
5*time.Second,
100*time.Millisecond,
)
return eventually(func() error {
return s.userIsListedAndConnected(username)
})
}
func (s *scenario) userIsListedButNotConnected(username string) error {