Increase timeout in Container tests for qmgr to become ready (#417)
Signed-off-by: Nicholas-Daffern <Nicholas.Daffern@ibm.com>
This commit is contained in:
committed by
GitHub Enterprise
parent
33566bed16
commit
7d093b4340
@@ -551,7 +551,7 @@ func execContainer(t *testing.T, cli ce.ContainerInterface, ID string, user stri
|
|||||||
|
|
||||||
func waitForReady(t *testing.T, cli ce.ContainerInterface, ID string) {
|
func waitForReady(t *testing.T, cli ce.ContainerInterface, ID string) {
|
||||||
|
|
||||||
ctx, cancel := context.WithTimeout(context.Background(), 2*time.Minute)
|
ctx, cancel := context.WithTimeout(context.Background(), 4*time.Minute)
|
||||||
defer cancel()
|
defer cancel()
|
||||||
|
|
||||||
for {
|
for {
|
||||||
|
|||||||
Reference in New Issue
Block a user