-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[Discover] Add permissions for context size
test
#109391
Conversation
Pinging @elastic/kibana-app (Team:KibanaApp) |
@elasticmachine merge upstream |
@elasticmachine merge upstream |
dear @liza-mae, could you evaluate in cloud CI ? last time I tried the cloud flaky test runner it didn't work. many thx! |
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.
@@ -28,6 +29,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { | |||
'context:step': `${TEST_STEP_SIZE}`, | |||
}); | |||
await PageObjects.context.navigateTo(TEST_INDEX_PATTERN, TEST_ANCHOR_ID); | |||
await security.testUser.setRoles(['kibana_admin', 'kibana_date_nanos']); |
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.
don't know if this fixes the issue, but I think roles need to be set before navigating to context?
@kertal the order of the command did not seem to make a difference in my testing, however since the default index is logstash adding the test_logstash_reader role fixed it for me. |
@elasticmachine merge upstream |
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.
LGTM, flaky test runner in the cloud says, it works: https://internal-ci.elastic.co/job/elastic+estf-cloud-kibana-flaky-test-runner/JOB=flakyRun1,TASK=saas_run_kibana_tests,node=ess-testing/274/
@elasticmachine merge upstream |
💚 Build SucceededMetrics [docs]
History
To update your PR or re-run it, just comment with: cc @dmitriynj |
I've been re-running the flaky one that failed and it works
* [Discover] add permissions for flaky context test * [Discover] apply test_logstash_reader role Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* [Discover] add permissions for flaky context test * [Discover] apply test_logstash_reader role Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* [Discover] add permissions for flaky context test * [Discover] apply test_logstash_reader role Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Dmitry Tomashevich <39378793+Dmitriynj@users.noreply.github.com>
* [Discover] add permissions for flaky context test * [Discover] apply test_logstash_reader role Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Dmitry Tomashevich <39378793+Dmitriynj@users.noreply.github.com>
Summary
Fixes #98421
Flaky test runner build
Checklist