Skip to content

Refactor tests to use MemoryFileSystem for tests that depend on time #257

Open
@eliasyishak

Description

@eliasyishak

Currently, we are using the MemoryFileSystem.test() constructor for all tests. This uses a fake clock internally which works great for tests that may fail due to race conditions.

However, all tests don't require a fake clock, as pointed out here, some may actually benefit from using the real clock.

We should instead use the appropriate constructor of MemoryFileSystem on a test-by-test case instead of globally setting it up in setUp

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions