Skip to content

Avoid computeRandomBytes in tests #581

@alrevuelta

Description

@alrevuelta

The function computeRandomBytes is being used very frequently in tests, but no seed is being used. This means that every time a test runs, a different value is produced. Testing shall be deterministic so either avoid using that or used a fixed seed so that all tests run are deterministic. Otherwise it can be tricky to debug a failing test, because each time it executes the input parameters are different.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions