test(opensearch): Disable perf analyzer in test images (#14178)
This commit is contained in:
parent
7c5b3ea068
commit
64ae51e6ff
|
|
@ -551,7 +551,8 @@ func setupIntegrationTest(t *testing.T, image string) (*testutil.Container, *Ope
|
||||||
Image: image,
|
Image: image,
|
||||||
ExposedPorts: []string{servicePort},
|
ExposedPorts: []string{servicePort},
|
||||||
Env: map[string]string{
|
Env: map[string]string{
|
||||||
"discovery.type": "single-node",
|
"discovery.type": "single-node",
|
||||||
|
"DISABLE_PERFORMANCE_ANALYZER_AGENT_CLI": "true",
|
||||||
},
|
},
|
||||||
WaitingFor: wait.ForAll(
|
WaitingFor: wait.ForAll(
|
||||||
wait.ForLog(".opendistro_security is used as internal security index."),
|
wait.ForLog(".opendistro_security is used as internal security index."),
|
||||||
|
|
|
||||||
|
|
@ -23,9 +23,10 @@ func launchTestContainer(t *testing.T, imageVersion string) *testutil.Container
|
||||||
Image: "opensearchproject/opensearch:" + imageVersion,
|
Image: "opensearchproject/opensearch:" + imageVersion,
|
||||||
ExposedPorts: []string{servicePort},
|
ExposedPorts: []string{servicePort},
|
||||||
Env: map[string]string{
|
Env: map[string]string{
|
||||||
"discovery.type": "single-node",
|
"discovery.type": "single-node",
|
||||||
"DISABLE_INSTALL_DEMO_CONFIG": "true",
|
"DISABLE_INSTALL_DEMO_CONFIG": "true",
|
||||||
"DISABLE_SECURITY_PLUGIN": "true",
|
"DISABLE_SECURITY_PLUGIN": "true",
|
||||||
|
"DISABLE_PERFORMANCE_ANALYZER_AGENT_CLI": "true",
|
||||||
},
|
},
|
||||||
WaitingFor: wait.ForAll(
|
WaitingFor: wait.ForAll(
|
||||||
wait.ForListeningPort(nat.Port(servicePort)),
|
wait.ForListeningPort(nat.Port(servicePort)),
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue