Skip to content

Commit

Permalink
Fixes for some e2e tests (#1284)
Browse files Browse the repository at this point in the history
* APM e2e tests: avoid yellow status because of unallocated shards + try to find a shorter name
  • Loading branch information
barkbay authored Jul 19, 2019
1 parent 8cd046b commit ae23cf4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion operators/test/e2e/apm/configuration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ func TestUpdateConfiguration(t *testing.T) {

name := "test-apm-configuration"
esBuilder := elasticsearch.NewBuilder(name).
WithESMasterDataNodes(1, elasticsearch.DefaultResources)
WithESMasterDataNodes(3, elasticsearch.DefaultResources)
apmBuilder := apmserver.NewBuilder(name).
WithNamespace(test.Namespace).
WithVersion(test.ElasticStackVersion).
Expand Down
4 changes: 2 additions & 2 deletions operators/test/e2e/es/failure_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import (

func TestKillOneDataNode(t *testing.T) {
// 1 master + 2 data nodes
b := elasticsearch.NewBuilder("test-failure-kill-one-data-node").
b := elasticsearch.NewBuilder("test-failure-kill-a-data-node").
WithESMasterNodes(1, elasticsearch.DefaultResources).
WithESDataNodes(2, elasticsearch.DefaultResources)

Expand All @@ -40,7 +40,7 @@ func TestKillOneDataNode(t *testing.T) {

func TestKillOneMasterNode(t *testing.T) {
// 2 master + 2 data nodes
b := elasticsearch.NewBuilder("test-failure-kill-one-master-node").
b := elasticsearch.NewBuilder("test-failure-kill-a-master-node").
WithESMasterNodes(2, elasticsearch.DefaultResources).
WithESDataNodes(2, elasticsearch.DefaultResources)

Expand Down

0 comments on commit ae23cf4

Please sign in to comment.