Skip to content

Commit

Permalink
test(opensearch): Disable perf analyzer in test images (influxdata#14178
Browse files Browse the repository at this point in the history
)
  • Loading branch information
powersj authored Oct 25, 2023
1 parent 7c5b3ea commit 64ae51e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
3 changes: 2 additions & 1 deletion plugins/inputs/opensearch_query/opensearch_query_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -551,7 +551,8 @@ func setupIntegrationTest(t *testing.T, image string) (*testutil.Container, *Ope
Image: image,
ExposedPorts: []string{servicePort},
Env: map[string]string{
"discovery.type": "single-node",
"discovery.type": "single-node",
"DISABLE_PERFORMANCE_ANALYZER_AGENT_CLI": "true",
},
WaitingFor: wait.ForAll(
wait.ForLog(".opendistro_security is used as internal security index."),
Expand Down
7 changes: 4 additions & 3 deletions plugins/outputs/opensearch/opensearch_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,10 @@ func launchTestContainer(t *testing.T, imageVersion string) *testutil.Container
Image: "opensearchproject/opensearch:" + imageVersion,
ExposedPorts: []string{servicePort},
Env: map[string]string{
"discovery.type": "single-node",
"DISABLE_INSTALL_DEMO_CONFIG": "true",
"DISABLE_SECURITY_PLUGIN": "true",
"discovery.type": "single-node",
"DISABLE_INSTALL_DEMO_CONFIG": "true",
"DISABLE_SECURITY_PLUGIN": "true",
"DISABLE_PERFORMANCE_ANALYZER_AGENT_CLI": "true",
},
WaitingFor: wait.ForAll(
wait.ForListeningPort(nat.Port(servicePort)),
Expand Down

0 comments on commit 64ae51e

Please sign in to comment.