Profile a test will crash with exception
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
NUnit Test Adapter |
Fix Released
|
High
|
Terje Sandstrom |
Bug Description
This bug was reported on VS Gallery by Zumpiez.
"When attempting to profile an NUnit test via Test Explorer I get the following output:
------ Run test started ------
An exception occurred while invoking executor 'executor:
========== Run test finished: 0 run (0:00:02.8531632) ==========
The "Performance" output category shows
"File contains no data buffers
File contains no data buffers
Analysis failed"
Has anybody run into this before?"
The error is caused by a bug in VS using two Properties for the same thing, shutting Down the adapter, and if KeepAlive is false, EnableShutdownA
The adapter needs to work around this issue, and missed this for the profile case.
I've attached a 0.95.3 version where this check is also done for the profiling case.
Related branches
Changed in nunit-vs-adapter: | |
status: | New → In Progress |
assignee: | nobody → Terje Sandstrom (b-tfrje-j) |
Changed in nunit-vs-adapter: | |
status: | In Progress → Fix Committed |
Changed in nunit-vs-adapter: | |
status: | Fix Committed → Fix Released |
Changed in nunit-vs-adapter: | |
importance: | Undecided → Medium |
importance: | Medium → High |
milestone: | none → 0.96 |
I user the latest version of the NUnit adapter and I still get the memory issues that as I understand should have been resolved.