Fix hibernate dialect in k8s tests 42/138642/3
authorrameshiyer27 <ramesh.murugan.iyer@est.tech>
Tue, 6 Aug 2024 15:00:45 +0000 (16:00 +0100)
committerrameshiyer27 <ramesh.murugan.iyer@est.tech>
Wed, 7 Aug 2024 13:37:34 +0000 (13:37 +0000)
Issue-ID: POLICY-4647
Change-Id: If983a76a8f5d8b54a951d4c94f27269fb7616fcd
Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech>
csit/run-k8s-csit.sh
helm/policy/components/policy-api/resources/config/apiParameters.yaml
helm/policy/components/policy-clamp-runtime-acm/resources/config/acRuntimeParameters.yaml
helm/policy/components/policy-pap/resources/config/papParameters.yaml

index d8ce6f9..b578a5b 100755 (executable)
@@ -368,6 +368,7 @@ wait_for_pods_running() {
     if [ "$elapsed_time" -ge "$timeout_seconds" ]; then
       echo "Timed out waiting for the pods to reach 'Running' state."
       echo "Printing the current status of the deployment before exiting.."
+      kubectl get po;
       kubectl describe pods;
       echo "------------------------------------------------------------"
       for pod in "${pending_pods[@]}"; do
index 48e1df6..3d59326 100644 (file)
@@ -38,7 +38,7 @@ spring:
   jpa:
     properties:
       hibernate:
-        dialect: org.hibernate.dialect.MariaDB103Dialect
+        format_sql: true
     hibernate:
       ddl-auto: none
       naming:
index ec0f900..7b8ceea 100755 (executable)
@@ -44,7 +44,6 @@ spring:
         implicit-strategy: org.onap.policy.common.spring.utils.CustomImplicitNamingStrategy
     properties:
       hibernate:
-        dialect: org.hibernate.dialect.MariaDB103Dialect
         format_sql: true
 
 security:
index 646b5ea..85315a1 100644 (file)
@@ -34,7 +34,7 @@ spring:
   jpa:
     properties:
       hibernate:
-        dialect: org.hibernate.dialect.MariaDB103Dialect
+        format_sql: true
     hibernate:
       ddl-auto: none
       naming: