This is an automated email from the ASF dual-hosted git repository. jstastnycz pushed a commit to branch radtriste-fix-pipelines in repository https://gitbox.apache.org/repos/asf/incubator-kie-kogito-images.git
commit c6e601912e18ae34114de8f921f738a367e43069 Author: jstastny-cz <[email protected]> AuthorDate: Wed Nov 22 13:22:29 2023 +0100 try increasing sleep time --- tests/features/common-build-runtime.feature | 2 +- tests/features/common-custom-truststore.feature | 2 +- tests/features/common-dynamic-resources.feature | 10 +++++----- tests/features/trusty/kogito-trusty-common.feature | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/tests/features/common-build-runtime.feature b/tests/features/common-build-runtime.feature index fe3fc7cd..f7a7bf7b 100644 --- a/tests/features/common-build-runtime.feature +++ b/tests/features/common-build-runtime.feature @@ -6,5 +6,5 @@ Feature: Common tests for Kogito builder and runtime images Scenario: Verify if usage help is correctly called - When container is started with command bash -c "sleep 2s; /home/kogito/kogito-app-launch.sh -h" + When container is started with command bash -c "sleep 5s; /home/kogito/kogito-app-launch.sh -h" Then container log should contain This is the diff --git a/tests/features/common-custom-truststore.feature b/tests/features/common-custom-truststore.feature index 005a9560..b0d9ff3d 100644 --- a/tests/features/common-custom-truststore.feature +++ b/tests/features/common-custom-truststore.feature @@ -18,7 +18,7 @@ @openshift-serverless-1-tech-preview/logic-data-index-ephemeral-rhel8 Feature: Common tests for Custom TrustStore configuration Scenario: Verify if a custom certificate is correctly handled - When container is started with command bash -c "sleep 2s; /home/kogito/kogito-app-launch.sh" + When container is started with command bash -c "sleep 5s; /home/kogito/kogito-app-launch.sh" | variable | value | | CUSTOM_TRUSTSTORE | my-truststore.jks | | RUNTIME_TYPE | quarkus | diff --git a/tests/features/common-dynamic-resources.feature b/tests/features/common-dynamic-resources.feature index 48d043e1..35790b99 100644 --- a/tests/features/common-dynamic-resources.feature +++ b/tests/features/common-dynamic-resources.feature @@ -24,7 +24,7 @@ Feature: Common tests for Kogito images Scenario: Verify if the properties were correctly set using DEFAULT MEM RATIO When container is started with args | arg | value | - | command | bash -c "sleep 2s; /home/kogito/kogito-app-launch.sh" | + | command | bash -c "sleep 5s; /home/kogito/kogito-app-launch.sh" | | mem_limit | 1073741824 | | env_json | {"SCRIPT_DEBUG":"true", "JAVA_MAX_MEM_RATIO": 80, "JAVA_INITIAL_MEM_RATIO": 25} | Then container log should match regex -Xms205m @@ -33,7 +33,7 @@ Feature: Common tests for Kogito images Scenario: Verify if the DEFAULT MEM RATIO properties are overridden with different values When container is started with args | arg | value | - | command | bash -c "sleep 2s; /home/kogito/kogito-app-launch.sh" | + | command | bash -c "sleep 5s; /home/kogito/kogito-app-launch.sh" | | mem_limit | 1073741824 | | env_json | {"SCRIPT_DEBUG":"true", "JAVA_MAX_MEM_RATIO": 50, "JAVA_INITIAL_MEM_RATIO": 10} | Then container log should match regex -Xms51m @@ -42,7 +42,7 @@ Feature: Common tests for Kogito images Scenario: Verify if the properties were correctly set when aren't passed When container is started with args | arg | value | - | command | bash -c "sleep 2s; /home/kogito/kogito-app-launch.sh" | + | command | bash -c "sleep 5s; /home/kogito/kogito-app-launch.sh" | | mem_limit | 1073741824 | | env_json | {"SCRIPT_DEBUG":"true"} | Then container log should match regex -Xms128m @@ -51,14 +51,14 @@ Feature: Common tests for Kogito images Scenario: Verify if Java Remote Debug is correctly configured When container is started with args | arg | value | - | command | bash -c "sleep 2s; /home/kogito/kogito-app-launch.sh" | + | command | bash -c "sleep 5s; /home/kogito/kogito-app-launch.sh" | | env_json | {"SCRIPT_DEBUG":"true", "JAVA_DEBUG":"true", "JAVA_DEBUG_PORT":"9222"} | Then container log should match regex -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=9222 Scenario: Verify if the DEFAULT MEM RATIO properties are overridden with different values from user provided Xmx and Xms When container is started with args | arg | value | - | command | bash -c "sleep 2s; /home/kogito/kogito-app-launch.sh" | + | command | bash -c "sleep 5s; /home/kogito/kogito-app-launch.sh" | | mem_limit | 1073741824 | | env_json | {"SCRIPT_DEBUG":"true", "JAVA_MAX_MEM_RATIO": 50, "JAVA_INITIAL_MEM_RATIO": 10, "JAVA_OPTIONS":"-Xms4000m -Xmx8000m"} | Then container log should match regex -Xms4000m diff --git a/tests/features/trusty/kogito-trusty-common.feature b/tests/features/trusty/kogito-trusty-common.feature index 81363001..ac5e551d 100644 --- a/tests/features/trusty/kogito-trusty-common.feature +++ b/tests/features/trusty/kogito-trusty-common.feature @@ -5,6 +5,6 @@ Feature: Kogito-trusty common feature. Scenario: Scenario: Verify if the debug is correctly enabled and test default http port When container is started with args | arg | value | - | command | bash -c "sleep 2s; /home/kogito/kogito-app-launch.sh" | + | command | bash -c "sleep 5s; /home/kogito/kogito-app-launch.sh" | | env_json | {"SCRIPT_DEBUG":"true"} | Then container log should contain -Dtrusty.explainability.enabled=true -Djava.library.path=/home/kogito/lib -Dquarkus.http.host=0.0.0.0 -Dquarkus.http.port=8080 --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
