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

[mimir-continuous-test] Fail on 4xx when in smoke-test mode #2094

Merged
merged 3 commits into from
Jun 13, 2022

Conversation

Logiraptor
Copy link
Contributor

@Logiraptor Logiraptor commented Jun 13, 2022

What this PR does

Updates the continuoustest package to return an error if no valid query time range is found. This only impacts the operation when -tests.smoke-test is passed.

This was an oversight during #2047

I found this issue during development of #2061.
The smoke-test failed due to an HTTP 401, but the process return code was still 0 since that error is silently ignored.

Which issue(s) this PR fixes or relates to

Related to #2060

Checklist

  • Tests updated
  • Documentation added
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]

@Logiraptor Logiraptor marked this pull request as ready for review June 13, 2022 20:19
@Logiraptor Logiraptor merged commit 330e9fe into main Jun 13, 2022
@Logiraptor Logiraptor deleted the logiraptor/fail-contest-on-4xx branch June 13, 2022 21:07
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