1

Closed

Exception when repro'ing a test in debugger w/breakpoints set before/after preemptions

description

This was reported by tball:
 
alpaca\ChessTesting\ConcurrencyTools\RegressionTesting\MCUT.Framework\ConflictSerializabilityTestMethodTests.cs
  1. comment out the ExpectedResult as below
    [ConflictSerializabilityTestMethod]
    //[ExpectedResult(TestResultType.Error)]   // TODO make special error type for these?
    public void Test1()
     ...
  2. Run Test1() in alpaca to get an error.
  3. Then try to “Repro in Debugger”, selecting “break before/after preemptions”.
     
    Result:
    mcut.exe!Microsoft.Concurrency.TestTools.UnitTesting.MCutConsole.TestCaseRunnerEngine.PreProcessResults(Microsoft.Concurrency.TestTools.Execution.TestResultEntity testResult) Line 131 + 0x1c bytes C#
           mcut.exe!Microsoft.Concurrency.TestTools.UnitTesting.MCutConsole.Program.RunTestCaseGetResult(string testCaseFilePath) Line 335 + 0xe bytes   C#
           mcut.exe!Microsoft.Concurrency.TestTools.UnitTesting.MCutConsole.Program.RunTestCase(string testCaseFilePath) Line 289 + 0x9 bytes   C#
           mcut.exe!Microsoft.Concurrency.TestTools.UnitTesting.MCutConsole.Program.Main(string[] args) Line 209 + 0xc bytes     C#
     
     
    internal TestResultEntity PreProcessResults(TestResultEntity testResult)
    {
        return runner.PreProcessResults(metadata, testResult); <<<< null ref on 'runner'
    }
Closed Jul 15, 2011 at 5:44 AM by mormayo

comments

wrote Jul 15, 2011 at 5:44 AM

Resolved with changeset 60543.

wrote Feb 14, 2013 at 7:24 PM

wrote May 16, 2013 at 9:35 AM