Skip to content

Commit

Permalink
Fix tests on release pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
zijchen committed Nov 12, 2024
1 parent bd6a69c commit 4596d0f
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions test/Microsoft.Build.Sql.Tests/DotnetTestBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,6 @@ public abstract class DotnetTestBase
{
protected string DatabaseProjectName = "project";

#if DEBUG
protected const bool IsDebug = true;
#else
protected const bool IsDebug = false;
#endif

protected string WorkingDirectory
{
get { return Path.Combine(TestContext.CurrentContext.WorkDirectory, TestUtils.EscapeTestName(TestContext.CurrentContext.Test.Name)); }
Expand Down Expand Up @@ -315,8 +309,7 @@ protected string GetDacpacPath()
/// </summary>
protected string GetOutputDirectory()
{
string configuration = IsDebug ? "Debug" : "Release";
return Path.Combine(this.WorkingDirectory, "bin", configuration);
return Path.Combine(this.WorkingDirectory, "bin", "Debug");
}

/// <summary>
Expand Down

0 comments on commit 4596d0f

Please sign in to comment.