Build/Test Issues

NCrunch Cannot run tests where Spans are being created

Started by acm23 on 9 views

This problem has appeared in the last 2 weeks. I have a test suite of 30,000+ tests, where currently approximately 2000 fail with this error.

This looks to be a recurrence of an earlier reported problems (e.g. https://forum.ncrunch.net/yaf_postst3538_Issue-using-ReadOnlySpan-construction.aspx#post17806).

In this case
- RDI is turned off
- using the comments //ncrunch: rdi off appears to have no effect (and is not a possible solution anyway for multiple reasons)
- Asp.Net Core 10/.net 10 codebase using Microsoft.Net.Test.Sdk 18.10.1, NUnit 4.6.1, NUnit3Adapter 6.3.0, configured to use Microsoft Testing Platform (but problem also showed when using VSTest)
- I am seeing nCrunchTemp project files in my solution path as well, when my ncrunch configuration is different paths for RDI storage, cache configuration, cache storage, and workspace base path

Unfortunately I don't have a sample to reproduce the problem.

Edited

Screenshot attached by acm23

Post a reply

Log in to reply.