From 5b062d385fdcd129359765f89ebef61615b58959 Mon Sep 17 00:00:00 2001 From: Ricardo Zanini Date: Tue, 26 Dec 2023 17:46:09 -0300 Subject: [PATCH] Fix data-index-oracle behave to reflect new error Signed-off-by: Ricardo Zanini --- tests/features/data-index/kogito-data-index-oracle.feature | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/tests/features/data-index/kogito-data-index-oracle.feature b/tests/features/data-index/kogito-data-index-oracle.feature index 9cac42d0b..64bb79819 100644 --- a/tests/features/data-index/kogito-data-index-oracle.feature +++ b/tests/features/data-index/kogito-data-index-oracle.feature @@ -12,16 +12,15 @@ Feature: Kogito-data-index oracle feature. Scenario: verify if of container is correctly started with oracle parameters When container is started with env | variable | value | - | SCRIPT_DEBUG | true | | QUARKUS_DATASOURCE_JDBC_URL | jdbc:oracle:thin:@//10.1.1.53:1521/quarkus | | QUARKUS_DATASOURCE_USERNAME | kogito | | QUARKUS_DATASOURCE_PASSWORD | s3cr3t | - Then container log should contain -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 - And container log should contain java.sql.SQLException: Acquisition timeout while waiting for new connection + Then container log should contain java.sql.SQLRecoverableException: ORA-17002: I/O error And container log should not contain Application failed to start Scenario: check if the default quarkus profile is correctly set on data index When container is started with env | variable | value | | SCRIPT_DEBUG | true | - Then container log should contain -Dquarkus.profile=kafka-events-support \ No newline at end of file + Then container log should contain -Dquarkus.profile=kafka-events-support + And container log should contain -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 \ No newline at end of file