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

Ensure admin tasks are always executed #1116

Merged

Conversation

danielmitterdorfer
Copy link
Member

When a user specified --exclude-tasks, Rally did not only exclude the
specified tasks but also all administrative tasks. This happened because
of a broken logic that always added an admin task filter internally. Due
to another bug, administrative tasks where never correctly detected but
we fixed that broken logic in #1112, which finally uncovered this issue.

With this commit we ensure now that administrative tasks are always
executed regardless whether the user excludes them. We also increase
test coverage in this part of the code.

When a user specified `--exclude-tasks`, Rally did not only exclude the
specified tasks but also all administrative tasks. This happened because
of a broken logic that always added an admin task filter internally. Due
to another bug, administrative tasks where never correctly detected but
we fixed that broken logic in elastic#1112, which finally uncovered this issue.

With this commit we ensure now that administrative tasks are always
executed regardless whether the user excludes them. We also increase
test coverage in this part of the code.
@danielmitterdorfer danielmitterdorfer added bug Something's wrong :Track Management New operations, changes in the track format, track download changes and the like labels Nov 19, 2020
@danielmitterdorfer danielmitterdorfer added this to the 2.0.3 milestone Nov 19, 2020
@danielmitterdorfer danielmitterdorfer self-assigned this Nov 19, 2020
Copy link
Contributor

@dliappis dliappis left a comment

Choose a reason for hiding this comment

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

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something's wrong :Track Management New operations, changes in the track format, track download changes and the like
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants