Skip to content
This repository was archived by the owner on Nov 20, 2018. It is now read-only.

Reduce flakiness in tests caused by the OS re-using the PID on test processes #512

Merged
merged 1 commit into from
Nov 6, 2018

Conversation

natemcmaster
Copy link
Contributor

Resolves #511.

We were using PID to assert that dotnet-watch had restarted processes. The OS does not guaranteed the uniqueness of PID, so I've changed tests to use PID + process start time to distinguish between processes.

@natemcmaster natemcmaster requested a review from muratg November 5, 2018 20:48
@natemcmaster
Copy link
Contributor Author

🔔

@natemcmaster natemcmaster merged commit a24b4ee into master Nov 6, 2018
@natemcmaster natemcmaster deleted the namc/flaky branch November 6, 2018 17:57
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants