-
Couldn't load subscription status.
- Fork 128
Fix defer-cleanup flag functionality for system testrunner #394
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
Conversation
💚 Build Succeeded
Expand to view the summary
Build stats
Test stats 🧪
Trends 🧪 |
|
Hi @renekalff , thank you for the PR. Could you please describe manual testing steps to verify the fix? |
After applying this fix run After loading the resources a debug message will be displayed that cleanup is deferred for one minute. Now manual inspection is possible, for example using kibana. After one minute cleanup is performed and the documents are removed from the datastream indexes. Setting a longer delay will allow you to develop the kibana dashboards based on the test events. Changes made in the dashboards or visualizations won’t be lost in the cleanup process nor will they be overwritten on subsequent system test executions. |
|
/test |
1 similar comment
|
/test |
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. Thanks for the fix!
This reverts commit 7ca3684.
Currently the system testrunner is calling TearDown itself bypassing the defer-cleanup functionality. This MR resolves this by leaving calling TearDown to the testrunner main function.