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 (show other bugs)
Version: 4.0.0
Hardware: PC Mac OS
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2015-09-10 23:47 UTC by Cody Beyer (MSFT)
Modified: 2015-09-12 08:32 UTC (History)
3 users (show)

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


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

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

Attached

### 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
Runtime:
	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: 9.0.0.32 (Business Edition)
Hash: 46c4d1a
Branch: master
Build date: 2015-09-10 13:08:27-0400

=== Xamarin.Android ===

Version: 5.1.6.5 (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: 2.0.2.111 (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]
TestCase

Note You need to log in before you can comment on or make changes to this bug.