Bug 33871 - Async call does not return within NUnit test
Summary: Async call does not return within NUnit test
Status: NEW
Alias: None
Product: Runtime
Classification: Mono
Component: General ()
Version: 4.0.0
Hardware: PC Mac OS
: --- normal
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2015-09-10 23:47 UTC by Cody Beyer (MSFT)
Modified: 2015-09-12 08:32 UTC (History)
3 users (show)

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

TestCase (54.98 KB, application/zip)
2015-09-10 23:48 UTC, Cody Beyer (MSFT)

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 33871 on GitHub or Developer Community 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: GitHub Markdown or Developer Community HTML
  • 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:

Description Cody Beyer (MSFT) 2015-09-10 23:47:44 UTC
### Description

The following sample iOS app demonstrates an issue where an async call does not return within a Unit Test

### Sample


### Steps to Reproduce

1. Open in Xamarin Studio
2. Deploy to iOS Device
3. Run test

### Expected Results

Test should complete

### Actual Results

Thread never returns from line 30 of UnitTests1.cs

### Versions

=== Xamarin Studio ===

Version 5.9.6 (build 65)
Installation UUID: b46033be-d5c0-46eb-aef7-fc4df7011580
	Mono 4.0.4 ((detached/cb6d6b2)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 400040002

=== Apple Developer Tools ===

Xcode 7.0 (8223)
Build 7A218

=== Xamarin.iOS ===

Version: (Business Edition)
Hash: 46c4d1a
Branch: master
Build date: 2015-09-10 13:08:27-0400

=== Xamarin.Android ===

Version: (Business Edition)
Android SDK: /Users/codybeyer/Library/Developer/Xamarin/android-sdk-macosx
	Supported Android versions:
		4.0.3 (API level 15)
		4.4   (API level 19)
		5.0   (API level 21)
Java SDK: /usr
java version "1.7.0_71"
Java(TM) SE Runtime Environment (build 1.7.0_71-b14)
Java HotSpot(TM) 64-Bit Server VM (build 24.71-b01, mixed mode)

=== Xamarin Android Player ===

Version: Unknown version
Location: /Applications/Xamarin Android Player.app

=== Xamarin.Mac ===

Version: (Business Edition)

=== Build Information ===

Release ID: 509060065
Git revision: d23bcf36c1aa3be6680180c221ecab75b4e76d7d
Build date: 2015-09-10 13:03:15-04
Xamarin addins: 8cc7a2cd76d30ad32e7afb5ce012acdbd27d71cc

=== Operating System ===

Mac OS X 10.10.5
Darwin Codys-MacBook-Pro.local 14.5.0 Darwin Kernel Version 14.5.0
    Wed Jul 29 02:26:53 PDT 2015
    root:xnu-2782.40.9~1/RELEASE_X86_64 x86_64
Comment 1 Cody Beyer (MSFT) 2015-09-10 23:48:02 UTC
Created attachment 12863 [details]