Skip to content

Commit 7e987a3

Browse files
Fix the test cases that work with the original image
1 parent db0d856 commit 7e987a3

3 files changed

Lines changed: 8 additions & 12 deletions

File tree

tests/templates/kuttl/ldap/21-install-opensearch.yaml.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ spec:
1414
security:
1515
settings:
1616
config:
17-
managedBy: operator
17+
managedBy: API
1818
content:
1919
valueFrom:
2020
secretKeyRef:

tests/templates/kuttl/security-config/11-install-opensearch.yaml.j2

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -89,12 +89,6 @@ spec:
8989
data:
9090
capacity: 2Gi
9191
replicas: 2
92-
envOverrides:
93-
# Only required for the official image
94-
# The official image (built with https://github.com/opensearch-project/opensearch-build)
95-
# installs a demo configuration if not disabled explicitly.
96-
DISABLE_INSTALL_DEMO_CONFIG: "true"
97-
OPENSEARCH_HOME: {{ test_scenario['values']['opensearch_home'] }}
9892
configOverrides:
9993
opensearch.yml:
10094
# Disable memory mapping in this test; If memory mapping were activated, the kernel setting

tests/test-definition.yaml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,16 @@ tests:
3131
dimensions:
3232
- opensearch
3333
- opensearch_home
34-
# requires an image with the OpenSearch Prometheus exporter
34+
# The test case "metrics" does not work with the original image because it requires the OpenSearch
35+
# Prometheus exporter.
3536
- name: metrics
3637
dimensions:
3738
- opensearch
3839
- name: ldap
3940
dimensions:
4041
- opensearch
4142
- opensearch_home
42-
# requires an image with Vector
43+
# The test case "logging" does not work with the original image because it requires Vector.
4344
- name: logging
4445
dimensions:
4546
- opensearch
@@ -49,16 +50,18 @@ tests:
4950
- opensearch_home
5051
- server-use-tls
5152
- release
52-
# requires the repository-s3 plugin
53+
# The test case "backup-restore" does not work with the original image because it requires the
54+
# repository-s3 plugin.
5355
- name: backup-restore
5456
dimensions:
5557
- opensearch
5658
- release
5759
- s3-use-tls
60+
# The test case "security-config" does not work with the original image because it requires
61+
# openssl.
5862
- name: security-config
5963
dimensions:
6064
- opensearch
61-
- opensearch_home
6265
- name: security-disabled
6366
dimensions:
6467
- opensearch
@@ -89,7 +92,6 @@ suites:
8992
- external-access
9093
- ldap
9194
- opensearch-dashboards
92-
- security-config
9395
- security-disabled
9496
patch:
9597
- dimensions:

0 commit comments

Comments
 (0)