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

test(572): fix flaky test with TestSecondaryIndices_List #595

Merged
merged 1 commit into from
Jan 21, 2025

Conversation

lsytj0413
Copy link
Contributor

Before fix,when run with go test -timeout 10m -run ^TestSecondaryIndices_List$ github.com/streamnative/oxia/server -gcflags all='-N' -v -count=10000, the flaky test reproduced.

After fix, run multi times tests without fail.

fix: #582

@lsytj0413
Copy link
Contributor Author

We should work on a mechanism to avoid close database when any iterator or anything is working on it.

@mattisonchao mattisonchao merged commit 11e8833 into streamnative:main Jan 21, 2025
5 checks passed
@lsytj0413 lsytj0413 deleted the fix-582 branch January 21, 2025 08:55
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.

flaky-test: TestSecondaryIndices_List
2 participants