-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Enable CM integration tests #9625
Conversation
We can't merge it yet, the 7.0 snapshot doesn't contains the fix |
The reenabled tests seem to be broken on Travis. |
c1c0a8f
to
0d2c37e
Compare
@urso I've removed the |
c := defaultConfig() | ||
v, _ := c.Blacklist.Patterns["output"] | ||
assert.Equal(t, "console|file", v) | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a sanity check to make sure we do not changes the default.
I think this PR elastic/kibana#27717 might impact how we create the test data in the integration suite. |
The failing tests are unrelated and fixed in master |
c0e7bbe
to
35d4931
Compare
I didn't merge this, I was able to make it fails periodically, works fine from time to time on travis, works always on local machine. I have added debug statements and I know that something is wrong with the enroll token.
I think its either that when we call the Kibana API it fails to create the token or the system is not stable enough when we do the call and we do not track any errors states.. I am adding a more robust test. |
I've added log statement to this PR to get the kibana status error, I've also marked it as in progress so we do not merge it. It appear that we hit a bug on the kibana side. |
190897c
to
9abfe4e
Compare
9abfe4e
to
a6827e4
Compare
Rebased and checking if we get a more meaningful error with elastic/kibana#28541 in Kibana. |
e3bed57
to
73df636
Compare
A few things broke the integration tests, change in response and also now Kibana also blacklist some elements. I have removed the blacklisted integration tests, theses are tested using unit tests, because kibana will not return anything that is blacklisted. I've moved the integration tests away from using the file output because it its blacklisted, instead we now use the Elasticsearch output to do the assertions.
73df636
to
0cdce55
Compare
So I was able to get a few run green with the integration test, so I've removed the debug and squash everything up. |
A few things broke the integration tests, change in response and also now Kibana also blacklist some elements. I have removed the blacklisted integration tests, theses are tested using unit tests, because kibana will not return anything that is blacklisted. I've moved the integration tests away from using the file output because it its blacklisted, instead we now use the Elasticsearch output to do the assertions. (cherry picked from commit e46c773)
A few things broke the integration tests, change in response and also now Kibana also blacklist some elements. I have removed the blacklisted integration tests, theses are tested using unit tests, because kibana will not return anything that is blacklisted. I've moved the integration tests away from using the file output because it its blacklisted, instead we now use the Elasticsearch output to do the assertions. (cherry picked from commit e46c773)
A few things broke the integration tests, change in response and also
now Kibana also blacklist some elements.
I have removed the blacklisted integration tests, theses are tested
using unit tests, because kibana will not return anything that is
blacklisted.
I've moved the integration tests away from using the file output because
it its blacklisted, instead we now use the Elasticsearch output to do
the assertions.
Fixes: #9597