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

Tests fix #2978

Merged
merged 21 commits into from Apr 1, 2020
Merged

Tests fix #2978

merged 21 commits into from Apr 1, 2020

Conversation

tbuchaillot
Copy link
Contributor

Fix some test in order to stabilize master tests.

@sredxny
Copy link
Contributor

sredxny commented Mar 31, 2020

This PR also contains a fix for https://github.com/TykTechnologies/tyk-analytics/issues/1815

Copy link
Contributor

@matiasinsaurralde matiasinsaurralde left a comment

Choose a reason for hiding this comment

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

LGTM

out = append(out, strings.TrimPrefix(key, "raw-"))
}

} else {
Copy link
Contributor

Choose a reason for hiding this comment

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

Would it make sense to remove this block and make "if exists" return earlier:

if exists && prefix != "" {
  // ...
  return out
}
keys := c.storage.GetKeys("raw-" + prefix + "*")
// ...
return out

@buger buger merged commit 2f32536 into master Apr 1, 2020
@buger buger deleted the tests-fix branch April 1, 2020 09:18
@buger
Copy link
Member

buger commented Apr 1, 2020

/release to release-2.10

@tykbot
Copy link

tykbot bot commented Apr 1, 2020

Working on it! Note that it can take a few minutes.

tykbot bot pushed a commit that referenced this pull request Apr 1, 2020
Fix some test in order to stabilize master tests.

(cherry picked from commit 2f32536)
@tykbot
Copy link

tykbot bot commented Apr 1, 2020

@buger Succesfully merged 2f325360f0af42326c5783ea543ff2a984f7f1b7 to release-2.10 branch.

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.

None yet

4 participants