Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

E2E tests fixes #734

Merged
merged 19 commits into from
May 6, 2019
Merged

E2E tests fixes #734

merged 19 commits into from
May 6, 2019

Conversation

barkbay
Copy link
Contributor

@barkbay barkbay commented May 6, 2019

In an attempt to fix e2e tests, this PR:

  • fixes various bugs and updates the e2e service account privileges that were preventing the tests to be run
  • increases some of the requested/limited resources by the ES nodes, the values have been found after doing some experiments. They seem to be a good tradeoff between the number of resources requested and the tests duration improvement.
  • Add some steps and checks to improve the stability
  • update the stack version to 6.7.2
  • disable keystore_test.go because it is flaky (see TestUpdateSecureSettings is flaky #733)
  • drop some constraints on mutation tests while we can explain what is expected regarding Investigating TestMutationMdiToDedicated failure #614

@@ -129,7 +129,8 @@ func (hc *ContinousHealthCheck) Start() {
defer cancel()
health, err := hc.esClient.GetClusterHealth(ctx)
if err != nil {
hc.AppendErr(err)
// TODO: Temporarily account only red clusters, see https://github.com/elastic/k8s-operators/issues/614
//hc.AppendErr(err)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we use something like a red health budget instead? Allow the cluster to lose its green status for a maximum of x seconds maybe? Or if that sounds like a recipe for more flaky tests use a different metric like allow max n non-green observations?

@barkbay barkbay added this to the Alpha milestone May 6, 2019
@barkbay barkbay self-assigned this May 6, 2019
@barkbay barkbay merged commit 091106b into elastic:master May 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants