Skip to content

Commit 2bf9b6c

Browse files
committed
Fix merge so that tests don't regress
1 parent 3d67583 commit 2bf9b6c

File tree

4 files changed

+376
-330
lines changed

4 files changed

+376
-330
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
// Copyright (c) .NET Foundation and Contributors. All rights reserved.
2+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
3+
4+
using Xunit;
5+
using Xunit.Abstractions;
6+
7+
[Trait("Engine", EngineString)]
8+
[Collection("Build")] // msbuild sets current directory in the process, so we can't have it be concurrent with other build tests.
9+
public class BuildIntegrationInProjectManagedTests : BuildIntegrationManagedTests
10+
{
11+
public BuildIntegrationInProjectManagedTests(ITestOutputHelper logger)
12+
: base(logger)
13+
{
14+
}
15+
16+
/// <inheritdoc/>
17+
protected override void ApplyGlobalProperties(IDictionary<string, string> globalProperties)
18+
{
19+
base.ApplyGlobalProperties(globalProperties);
20+
globalProperties["NBGV_CacheMode"] = "None";
21+
}
22+
}

test/Nerdbank.GitVersioning.Tests/BuildIntegrationManagedTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
[Collection("Build")] // msbuild sets current directory in the process, so we can't have it be concurrent with other build tests.
1010
public class BuildIntegrationManagedTests : SomeGitBuildIntegrationTests
1111
{
12-
private const string EngineString = "Managed";
12+
protected const string EngineString = "Managed";
1313

1414
public BuildIntegrationManagedTests(ITestOutputHelper logger)
1515
: base(logger)

0 commit comments

Comments
 (0)