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

TestStoreCompaction, TestStoreCompactionDeferredSort sometimes fails #38

Open
steveyen opened this issue Jun 23, 2017 · 1 comment
Open

Comments

@steveyen
Copy link
Member

using commit 9fdd764, sometimes seeing go test failures

$ go test
--- FAIL: TestStoreCompaction (0.04s)
store_test.go:747: expected only 1 file, got: 2, fileNames; [data-000000000000001d.moss (33017) data-000000000000001e.moss (37113)]
store_test.go:758: expected seq: 29 to equal numBatches: 30
store_test.go:778: expected nextFNameseq to be seq+1
--- FAIL: TestStoreCompactionDeferredSort (0.04s)
store_test.go:747: expected only 1 file, got: 2, fileNames; [data-000000000000001d.moss (33017) data-000000000000001e.moss (37113)]
store_test.go:758: expected seq: 29 to equal numBatches: 30
store_test.go:778: expected nextFNameseq to be seq+1
FAIL
exit status 1
FAIL github.com/couchbase/moss 5.517s

@hisundar
Copy link
Contributor

Looks like the test is only waiting for compactions to be done, not for the file to be removed.

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

No branches or pull requests

2 participants