Skip to content

Issue when opening multiple raft_engine::Engine's #386

Description

@Dan-J-D

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    contributionThis PR is from a community contributor.first-time-contributorIndicates that the PR was contributed by an external member and is a first-time contributor.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions