Skip to content

Commit 8a8a8a4

Browse files
test(smoke): Fix assertions
1 parent 2c2ad11 commit 8a8a8a4

3 files changed

Lines changed: 8 additions & 7 deletions

File tree

tests/templates/kuttl/smoke/31_configmap_hdfs-datanode-default.yaml.j2

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -756,7 +756,7 @@ vector.yaml: |
756756
- extended_logs_*
757757
type: remap
758758
source: |
759-
.namespace = "test"
759+
.namespace = "$NAMESPACE"
760760
.cluster = "hdfs"
761761
.role = "datanode"
762762
.roleGroup = "default"
@@ -767,7 +767,7 @@ vector.yaml: |
767767
- extended_logs
768768
type: vector
769769
address: $VECTOR_AGGREGATOR_ADDRESS
770-
{% endif %}
770+
{% endif -%}
771771
wait-for-namenodes.log4j.properties: |+
772772
log4j.rootLogger=INFO, CONSOLE, FILE
773773

tests/templates/kuttl/smoke/31_configmap_hdfs-journalnode-default.yaml.j2

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,8 @@ ssl-server.xml: |-
164164
<?xml version="1.0"?>
165165
<configuration>
166166
</configuration>
167-
{% if lookup('env', 'VECTOR_AGGREGATOR') %}
167+
{%- if lookup('env', 'VECTOR_AGGREGATOR') %}
168+
168169
vector.yaml: |
169170
data_dir: /stackable/log/_vector-state
170171

@@ -752,7 +753,7 @@ vector.yaml: |
752753
- extended_logs_*
753754
type: remap
754755
source: |
755-
.namespace = "test"
756+
.namespace = "$NAMESPACE"
756757
.cluster = "hdfs"
757758
.role = "journalnode"
758759
.roleGroup = "default"
@@ -763,4 +764,4 @@ vector.yaml: |
763764
- extended_logs
764765
type: vector
765766
address: $VECTOR_AGGREGATOR_ADDRESS
766-
{%- endif %}
767+
{%- endif -%}

tests/templates/kuttl/smoke/31_configmap_hdfs-namenode-default.yaml.j2

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -782,7 +782,7 @@ vector.yaml: |
782782
- extended_logs_*
783783
type: remap
784784
source: |
785-
.namespace = "test"
785+
.namespace = "$NAMESPACE"
786786
.cluster = "hdfs"
787787
.role = "namenode"
788788
.roleGroup = "default"
@@ -793,7 +793,7 @@ vector.yaml: |
793793
- extended_logs
794794
type: vector
795795
address: $VECTOR_AGGREGATOR_ADDRESS
796-
{% endif %}
796+
{% endif -%}
797797
zkfc.log4j.properties: |+
798798
log4j.rootLogger=INFO, CONSOLE, FILE
799799

0 commit comments

Comments
 (0)