ricardozanini opened a new issue, #1725:
URL: https://github.com/apache/incubator-kie-kogito-images/issues/1725
We have a few tests that need more time to spin up the container in our
current environment. They are failing simply because the default timeout is
reached:
```
Failing step: And container log should contain Embedded Postgres started at
port ... failed in 30.404s
Location: features/image/data-index/kogito-data-index-ephemeral.feature:17
Traceback (most recent call last):
File
"/home/nonrootuser/.local/lib/python3.11/site-packages/behave/model.py", line
1329, in run
match.run(runner.context)
File
"/home/nonrootuser/.local/lib/python3.11/site-packages/behave/matchers.py",
line 98, in run
self.func(context, *args, **kwargs)
File "steps/container_steps.py", line 34, in log_contains_msg
raise Exception("Message '%s' was not found in the logs" % message)
Exception: Message 'Embedded Postgres started at port' was not found in the
logs
Captured logging:
INFO:cekit:Message '-Djava.library.path=/home/kogito/lib
-Dquarkus.http.host=0.0.0.0 -Dquarkus.http.port=8080 -jar
/home/kogito/bin/quarkus-app/quarkus-run.jar' was found in the logs
```
In this example, the runtime is taking more time to reach the given log.
This timeout is fixed in their code:
https://github.com/cekit/behave-test-steps/blob/v1/steps/steps.py#L15
We should be able to set the env `BEHAVE_TIMEOUT` in the pipeline.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]