diff --git a/audit/messaging/solace.go b/audit/messaging/solace.go index a4ae435..8e47b92 100644 --- a/audit/messaging/solace.go +++ b/audit/messaging/solace.go @@ -140,7 +140,7 @@ func NewSolaceContainer(ctx context.Context) (*SolaceContainer, error) { ShmSize: 1024 * 1024 * 1024, // 1 GB, Env: env, WaitingFor: wait.ForLog("Running pre-startup checks:"). - WithStartupTimeout(60 * time.Second), + WithStartupTimeout(90 * time.Second), } container, err := testcontainers.GenericContainer(ctx, testcontainers.GenericContainerRequest{ ContainerRequest: request, @@ -187,10 +187,8 @@ func NewSolaceContainer(ctx context.Context) (*SolaceContainer, error) { ) if err != nil && strings.Contains(err.Error(), "NOT_FOUND") { solaceStarting = false - time.Sleep(1000 * time.Millisecond) - } else { - time.Sleep(100 * time.Millisecond) } + time.Sleep(1000 * time.Millisecond) } // Return container object