Skip to content

test-temp-directory isn't unique enough #199

Open
@cgay

Description

@cgay

test-temp-directory returns the same directory if called within the same second. It should be unique for each test run. Adding milliseconds could be good enough, but kind of kicks the can down the road. Maybe use a hash instead. It's easy enough to sort by time when looking for the test outputs. Or add -1, -2, etc at the end.

Not generally a problem for users; I noticed it due to a bug in which deft test ran the tests twice in a row.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugA problem with existing functionality or documentationoutput

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions