Skip to content

Commit

Permalink
Improve TestParallelism error message on AppVeyor
Browse files Browse the repository at this point in the history
  • Loading branch information
madelson committed Oct 2, 2021
1 parent fe507d8 commit ae60a27
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ public void TestParallelism()
// increment going in
if (Interlocked.Increment(ref counter) == 2)
{
Assert.Fail("Concurrent lock acquisitions");
Assert.Fail($"Concurrent lock acquisitions ({this.GetType()}");
}

// hang out for a bit to ensure concurrency
Expand Down

0 comments on commit ae60a27

Please sign in to comment.