Skip to content

Process is blocked when using file approach with the dotnet process #492

Open
@MWild67

Description

@MWild67

We want to use the library in our test base on MSTest/ReqNRoll.
We are starting the test by "dotnet test <OurTest.dll>" in containers running linux and during the tests we are altering the time to cover certain scenarios.

We saw the following behavior:

Using the environment variable FAKETIME is working to set an initial time, but adapting of the time is not changing the time in the running process.

Using the library over the file approach (Using .faketimerc, /etc/faketimerc or a custom file set by FAKETIME_TIMESTAMP_FILE):

  • When starting the process with an existing file is blocking the process start and the process is blocked forever
  • When creating a file during runtime has no influence on the process time

Is there anything we missed or a different approach we can follow?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions