ricardozanini commented on code in PR #3225:
URL:
https://github.com/apache/incubator-kie-tools/pull/3225#discussion_r2277220899
##########
packages/sonataflow-builder-image/test-resources/tests/features/sonataflow-builder.feature:
##########
@@ -22,31 +22,16 @@ Feature: SonataFlow Builder Image Sanity Checks
When container is started with command bash -c
'/home/kogito/launch/build-app.sh && java -jar
target/quarkus-app/quarkus-run.jar'
| variable | value |
| SCRIPT_DEBUG | false |
- Then check that page is served
- | property | value |
- | port | 8080 |
- | path | /q/health/ready |
- | wait | 480 |
- | request_method | GET |
- | expected_status_code | 200 |
- And container log should match regex Installed
features:.*kogito-serverless-workflow
+ Then container log should match regex Installed
features:.*kogito-serverless-workflow
And container log should match regex Installed
features:.*kie-addon-knative-eventing-extension
And container log should match regex Installed features:.*smallrye-health
+ And container log should match regex Listening on: http://0\.0\.0\.0:8080
+ And run curl -fsS -o /dev/null -w %{http_code}
http://127.0.0.1:8080/q/health/ready in container and immediately check its
output contains 200
Scenario: Verify that the application is built and started correctly when
QUARKUS_EXTENSIONS env is used
When container is started with command bash -c
'/home/kogito/launch/build-app.sh && java -jar
target/quarkus-app/quarkus-run.jar'
| variable | value |
| SCRIPT_DEBUG | false |
| QUARKUS_EXTENSIONS | io.quarkus:quarkus-elytron-security-jdbc |
- Then check that page is served
- | property | value |
- | port | 8080 |
- | path | /q/health/ready |
- | wait | 480 |
- | request_method | GET |
- | expected_status_code | 200 |
- And container log should match regex Extension
io\.quarkus:quarkus-elytron-security-jdbc.* has been installed
- And container log should match regex Installed
features:.*kogito-serverless-workflow
- And container log should match regex Installed
features:.*kie-addon-knative-eventing-extension
- And container log should match regex Installed features:.*smallrye-health
- And container log should match regex Installed features:.*security-jdbc
\ No newline at end of file
+ Then container log should match regex Extension
io\.quarkus:quarkus-elytron-security-jdbc.* has been installed
+ And container log should match regex Installed features:.*security-jdbc
Review Comment:
No, I've removed it on purpose since we are already testing the remote port
in other tests. My goal was to decrease the time to takes to run the tests.
--
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]