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

fix flaky tests in boltdb-shipper #2831

Merged
merged 1 commit into from
Oct 28, 2020

Conversation

sandeepsukhani
Copy link
Contributor

What this PR does / why we need it:
Some of the tests in boltdb-shipper were failing intermittently due to possible reuse of the same directories to build test data.
This is a possible fix for it which makes sure temp directories are created with distinct prefixes.

Copy link
Contributor

@cyriltovena cyriltovena left a comment

Choose a reason for hiding this comment

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

LGTM

@sandeepsukhani sandeepsukhani merged commit feb66d6 into grafana:master Oct 28, 2020
cyriltovena pushed a commit to cyriltovena/loki that referenced this pull request Jun 11, 2021
* established pattern

Signed-off-by: Joe Elliott <number101010@gmail.com>

* First pass http config

Signed-off-by: Joe Elliott <number101010@gmail.com>

* Added insecure.  Include bucketn names

Signed-off-by: Joe Elliott <number101010@gmail.com>

* Added tests

Signed-off-by: Joe Elliott <number101010@gmail.com>

* Tests pass!

Signed-off-by: Joe Elliott <number101010@gmail.com>

* Added url test

Signed-off-by: Joe Elliott <number101010@gmail.com>

* Added mixed config test

Signed-off-by: Joe Elliott <number101010@gmail.com>

* added sse support

Signed-off-by: Joe Elliott <number101010@gmail.com>

* PutUserMetadata

Signed-off-by: Joe Elliott <number101010@gmail.com>

* Removed comments

Signed-off-by: Joe Elliott <number101010@gmail.com>

* lint

Signed-off-by: Joe Elliott <number101010@gmail.com>

* Better error contextualization

Signed-off-by: Joe Elliott <number101010@gmail.com>

* Improved error msgs

Signed-off-by: Joe Elliott <number101010@gmail.com>

* Added yaml tags and descriptions

Signed-off-by: Joe Elliott <number101010@gmail.com>

* Moved storage client test to where it will work

Signed-off-by: Joe Elliott <number101010@gmail.com>

* Updated docs and changelog

Signed-off-by: Joe Elliott <number101010@gmail.com>

* removed putUserMetaData

Signed-off-by: Joe Elliott <number101010@gmail.com>

* removed capitlization of error msgs

Signed-off-by: Joe Elliott <number101010@gmail.com>

* errors cleanup

Signed-off-by: Joe Elliott <number101010@gmail.com>

* removed obsolete comment

Signed-off-by: Joe Elliott <number101010@gmail.com>

* Cleaned up comments

Signed-off-by: Joe Elliott <number101010@gmail.com>

* Addressed feedback

Signed-off-by: Joe Elliott <number101010@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants