Skip to content

Add test to MerkleDbDataSource where save is called with unexpected values #5212

Open
@swirlds-automation

Description

We found some cases where saveRecords(...) is called with negative values for paths and/or empty streams. We should write tests for the different potential inputs and validate the behavior of the DB. Ideally it should be resilient to such things. We don't know how many items are in the stream at the time we try to save.

Activity

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

Metadata

Assignees

No one assigned

    Labels

    BugAn error that causes the feature to behave differently than what was expected based on design.PlatformTickets pertaining to the platformPlatform Data StructuresPlatform Virtual MapTest DevelopmentTest Developmentgood first issue candidateIssues that can become a good first issue but need more description/context.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions