Skip to content

Commit cc7f749

Browse files
committed
Hopefully fix kuttl test
1 parent c8eb8a2 commit cc7f749

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

tests/templates/kuttl/smoke/14-assert.yaml.j2

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,16 @@ commands:
8181
-XX:PerBytecodeRecompilationCutoff=10000
8282
-Djdk.attach.allowAttachSelf=true
8383
-Djdk.nio.maxCachedBufferSize=2000000
84+
{% if test_scenario['values']['trino'].startswith("477") %}
85+
-Dfile.encoding=UTF-8
86+
-XX:+EnableDynamicAgentLoading
87+
{% elif test_scenario['values']['trino'].startswith("479") %}
88+
-Dfile.encoding=UTF-8
89+
-XX:+EnableDynamicAgentLoading
8490
--add-modules=jdk.incubator.vector
91+
{% elif test_scenario['values']['trino'].startswith("481") %}
92+
--add-modules=jdk.incubator.vector
93+
{% endif %}
8594
# Arguments from jvmArgumentOverrides
8695
log.properties: |
8796
=info
@@ -764,7 +773,16 @@ commands:
764773
-XX:PerBytecodeRecompilationCutoff=10000
765774
-Djdk.attach.allowAttachSelf=true
766775
-Djdk.nio.maxCachedBufferSize=2000000
776+
{% if test_scenario['values']['trino'].startswith("477") %}
777+
-Dfile.encoding=UTF-8
778+
-XX:+EnableDynamicAgentLoading
779+
{% elif test_scenario['values']['trino'].startswith("479") %}
780+
-Dfile.encoding=UTF-8
781+
-XX:+EnableDynamicAgentLoading
767782
--add-modules=jdk.incubator.vector
783+
{% elif test_scenario['values']['trino'].startswith("481") %}
784+
--add-modules=jdk.incubator.vector
785+
{% endif %}
768786
# Arguments from jvmArgumentOverrides
769787
log.properties: |
770788
=info

0 commit comments

Comments
 (0)