Disabled two tests failing on Mono

This commit is contained in:
Kai Ruhnau 2015-05-22 23:48:37 +02:00
parent 4289542996
commit a80b5b4f3d
3 changed files with 8 additions and 2 deletions

View File

@ -11,6 +11,7 @@ using Microsoft.AspNet.FeatureModel;
using Microsoft.AspNet.Http;
using Microsoft.AspNet.Http.Features;
using Microsoft.AspNet.Http.Internal;
using Microsoft.AspNet.Testing.xunit;
using Xunit;
namespace Microsoft.AspNet.TestHost
@ -222,7 +223,8 @@ namespace Microsoft.AspNet.TestHost
HttpCompletionOption.ResponseHeadersRead));
}
[Fact]
[ConditionalFact]
[FrameworkSkipCondition(RuntimeFrameworks.Mono)]
public async Task ExceptionAfterFirstWriteIsReported()
{
ManualResetEvent block = new ManualResetEvent(false);

View File

@ -1,13 +1,16 @@
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.AspNet.Testing.xunit;
using Xunit;
namespace Microsoft.AspNet.TestHost
{
public class RequestBuilderTests
{
[Fact]
// c.f. https://github.com/mono/mono/pull/1832
[ConditionalFact]
[FrameworkSkipCondition(RuntimeFrameworks.Mono)]
public void AddRequestHeader()
{
var server = TestServer.Create(app => { });

View File

@ -1,5 +1,6 @@
{
"dependencies": {
"Microsoft.AspNet.Testing": "1.0.0-*",
"Microsoft.AspNet.TestHost": "1.0.0-*",
"xunit.runner.aspnet": "2.0.0-aspnet-*"
},