Merge pull request #981 from cdmihai/skipFlakyTests

Skip flaky incremental tests
This commit is contained in:
Piotr Puszkiewicz 2016-01-22 19:18:07 -08:00
commit 47ae5faf37
3 changed files with 3 additions and 10 deletions

View file

@ -15,10 +15,6 @@ namespace Microsoft.DotNet.Tools.Builder.Tests
{
private string[] _projects = new[] { "L0", "L11", "L12", "L21", "L22" };
private string _testProjectsRoot = @"TestProjects";
private string _testProject = "TestProjectToProjectDependencies";
private TempDirectory tempProjectRoot;
public ProjectToProjectDependenciesIncrementalTest() : base(
Path.Combine("TestProjects", "TestProjectToProjectDependencies"),
"L0",

View file

@ -75,7 +75,7 @@ namespace Microsoft.DotNet.Tools.Builder.Tests
protected static void AssertProjectSkipped(string skippedProject, CommandResult buildResult)
{
Assert.Contains($"Project {skippedProject} was previoulsy compiled. Skipping compilation.", buildResult.StdOut);
Assert.Contains($"Project {skippedProject} was previoulsy compiled. Skipping compilation.", buildResult.StdOut, StringComparison.OrdinalIgnoreCase);
}
protected static void AssertProjectCompiled(string rebuiltProject, CommandResult buildResult)

View file

@ -13,9 +13,6 @@ namespace Microsoft.DotNet.Tools.Builder.Tests
{
public class IncrementalTests : IncrementalTestBase
{
private string _testProjectsRoot = @"TestProjects";
private string _testProject = "TestProjectToProjectDependencies";
private TempDirectory tempProjectRoot;
public IncrementalTests() : base(
Path.Combine("TestProjects", "TestSimpleIncrementalApp"),
@ -69,7 +66,7 @@ namespace Microsoft.DotNet.Tools.Builder.Tests
Assert.Contains("does not have a lock file", buildResult.StdErr);
}
[Fact]
[Fact(Skip="https://github.com/dotnet/cli/issues/980")]
public void TestRebuildChangedLockFile()
{
@ -83,7 +80,7 @@ namespace Microsoft.DotNet.Tools.Builder.Tests
AssertProjectCompiled(_mainProject, buildResult);
}
[Fact]
[Fact(Skip="https://github.com/dotnet/cli/issues/980")]
public void TestRebuildChangedProjectFile()
{