Bug 41408 - Nunit3 Timeout errors show up twice in in Test Results Pad
Summary: Nunit3 Timeout errors show up twice in in Test Results Pad
Status: NEW
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: NUnit (show other bugs)
Version: Trunk
Hardware: PC Mac OS
: Normal normal
Target Milestone: Future Cycle (TBD)
Assignee: Mike Krüger
URL:
Depends on:
Blocks:
 
Reported: 2016-05-31 18:43 UTC by Manish Sinha
Modified: 2017-10-06 06:40 UTC (History)
2 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report for Bug 41408 on Developer Community or GitHub if you have new information to add and do not yet see a matching new report.

If the latest results still closely match this report, you can use the original description:

  • Export the original title and description: Developer Community HTML or GitHub Markdown
  • Copy the title and description into the new report. Adjust them to be up-to-date if needed.
  • Add your new information.

In special cases on GitHub you might also want the comments: GitHub Markdown with public comments

Related Links:
Status:
NEW

Description Manish Sinha 2016-05-31 18:43:56 UTC
Steps:

1. Create Nunit3 test fixture
2. Create a test method

[Test]
[Timeout(4000)]
public void TestShouldTimeout()
{
    Thread.Sleep(TimeSpan.FromMilliseconds(6000));
}

3. Run this test

Expected: This test should fail due to timeout and show only once in Test Results Pad
Actual: This failed test shows up twice in Test Result pad

Try it out:
https://github.com/xamarin/QualityAssurance/blob/master/Manual/NunitTests/NunitTests.sln

Check test
https://github.com/xamarin/QualityAssurance/blob/master/Manual/NunitTests/Nunit3Tests/Test.cs#L40-L43

XS Info:

=== Xamarin Studio Business ===

Version 6.1 (build 4363)
Installation UUID: 9f8d3275-c231-4976-ba77-8e684234ab4e
Runtime:
	Mono 4.5.0 (mono-4.5.0-branch/759c1fe) (64-bit)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 405000936

=== Xamarin.Profiler ===

Not Installed

=== Xamarin.Android ===

Version: 6.1.99.286 (Xamarin Business)
Android SDK: /Users/manish/Library/Developer/Xamarin/android-sdk-macosx
	Supported Android versions:
		2.3    (API level 10)
		4.0.3  (API level 15)
		4.1    (API level 16)
		4.2    (API level 17)
		4.4    (API level 19)
		4.4.87 (API level 20)
		5.0    (API level 21)
		5.1    (API level 22)
		6.0    (API level 23)
		6.0.99 (API level 24)

SDK Tools Version: 25.1.6
SDK Platform Tools Version: 23.1
SDK Build Tools Version: 22.0.1

Java SDK: /usr
java version "1.8.0_05"
Java(TM) SE Runtime Environment (build 1.8.0_05-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.5-b02, mixed mode)

Android Designer EPL code available here:
https://github.com/xamarin/AndroidDesigner.EPL

=== Xamarin Android Player ===

Version: 0.6.5
Location: /Applications/Xamarin Android Player.app

=== Xamarin Inspector ===

Version: 0.8.1.0
Hash: 95792d1
Branch: master
Build date: Thu May 12 22:20:04 UTC 2016

=== Apple Developer Tools ===

Xcode 7.3 (10183.3)
Build 7D175

=== Xamarin.iOS ===

Version: 9.9.0.229 (Xamarin Business)
Hash: 9a59f98
Branch: master
Build date: 2016-05-27 14:35:41-0400

=== Xamarin.Mac ===

Version: 2.9.0.229 (Xamarin Business)

=== Build Information ===

Release ID: 601004363
Git revision: 812d5ef4bf2cfd0ab286d7528938cb8fb073f5ae
Build date: 2016-05-27 14:51:26-04
Xamarin addins: 37aba1816dcd769d6088c173ace74f2407dfef06
Build lane: monodevelop-lion-master

=== Operating System ===

Mac OS X 10.11.4
Darwin Manishs-MacBook-Pro.local 15.4.0 Darwin Kernel Version 15.4.0
    Fri Feb 26 22:08:05 PST 2016
    root:xnu-3248.40.184~3/RELEASE_X86_64 x86_64

=== Enabled user installed addins ===

Xamarin Inspector 0.8.1.0