Skip to content
This repository has been archived by the owner on Aug 13, 2019. It is now read-only.

TestWALRestoreCorrupted is flaking #163

Closed
gouthamve opened this issue Oct 5, 2017 · 3 comments
Closed

TestWALRestoreCorrupted is flaking #163

gouthamve opened this issue Oct 5, 2017 · 3 comments

Comments

@gouthamve
Copy link
Collaborator

That test is flaking for some reason, needs investigation.

Ref: #162

@gouthamve
Copy link
Collaborator Author

Not sure if I am just (un) lucky but not able to replicate the flake locally. Are people seeing this locally too?

And how can I look into travis' environment?

@nipuntalukdar
Copy link
Contributor

nipuntalukdar commented Dec 26, 2017

TestWALRestoreCorrupted sometime fails as the test routine and wal.cut method may be updating the same segment file in parallel resulting in error. Putting a sleep of around 2 seconds after the call to w.cut in the test routine (hopefully cut is done by 2 seconds) will fix the issue.

@gouthamve
Copy link
Collaborator Author

Fixed in #246

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants