Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Enable failure store also in 8.14
  • Loading branch information
jsoriano committed Jul 18, 2024
commit f9bcf0e86a620e1d20ef14265e7674899c8a6563
2 changes: 1 addition & 1 deletion cmd/testrunner.go
Original file line number Diff line number Diff line change
Expand Up @@ -543,7 +543,7 @@ func testRunnerSystemCommandAction(cmd *cobra.Command, args []string) error {
if err != nil {
return fmt.Errorf("can't parse Kibana version %q: %w", versionInfo.Number, err)
}
checkFailureStore := !stackVersion.LessThan(semver.MustParse("8.15.0"))
checkFailureStore := !stackVersion.LessThan(semver.MustParse("8.14.0"))

esClient, err := stack.NewElasticsearchClientFromProfile(profile)
if err != nil {
Expand Down
2 changes: 1 addition & 1 deletion internal/stack/_static/docker-compose-stack.yml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ services:
start_period: 300s
interval: 5s
environment:
- "ES_JAVA_OPTS=-Xms1g -Xmx1g"
- "ES_JAVA_OPTS=-Xms1g -Xmx1g {{ if not (semverLessThan $version "8.14.0") -}}-Des.failure_store_feature_flag_enabled=true{{- end -}}"
- "ELASTIC_PASSWORD={{ $password }}"
volumes:
- "./elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml"
Expand Down