-
Notifications
You must be signed in to change notification settings - Fork 95
Open
Labels
contributionThis PR is from a community contributor.This PR is from a community contributor.first-time-contributorIndicates that the PR was contributed by an external member and is a first-time contributor.Indicates that the PR was contributed by an external member and is a first-time contributor.
Description
I'm testing my store which uses raft_engine as its log store. I was trying to unit test my integration against the same test cases of MemStorage from raft-rs, in specific test_storage_append. I have found that each test case when ran individually, works. But when i test it all in one #[test]. It appears to behave weirdly, it fails on the second test case tests[1] but when i swap the first and second test case, it fails on the second test case. And when I added logging in between the initialization of the storage and writing of ents. It causes the third case to fail and the first 2 to succeed. Any ideas?
Metadata
Metadata
Assignees
Labels
contributionThis PR is from a community contributor.This PR is from a community contributor.first-time-contributorIndicates that the PR was contributed by an external member and is a first-time contributor.Indicates that the PR was contributed by an external member and is a first-time contributor.