Skip to content

Commit cecc1bc

Browse files
authored
Fix launch profile test failure (#48713)
2 parents 2fccb09 + b147678 commit cecc1bc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/dotnet.Tests/CommandTests/Run/GivenDotnetRunBuildsCsProj.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,7 @@ public void ItUsesLaunchProfileOfTheSpecifiedName()
409409
cmd.StdErr.Should().BeEmpty();
410410
}
411411

412-
[Fact(Skip = "https://github.com/dotnet/sdk/issues/42841")]
412+
[Fact]
413413
public void ItDefaultsToTheFirstUsableLaunchProfile()
414414
{
415415
var testAppName = "AppWithLaunchSettings";
@@ -419,7 +419,7 @@ public void ItDefaultsToTheFirstUsableLaunchProfile()
419419
var testProjectDirectory = testInstance.Path;
420420
var launchSettingsPath = Path.Combine(testProjectDirectory, "Properties", "launchSettings.json");
421421

422-
var cmd = new DotnetCommand(Log, "run")
422+
var cmd = new DotnetCommand(Log, "run", "--verbosity", "quiet")
423423
.WithWorkingDirectory(testProjectDirectory)
424424
.Execute();
425425

0 commit comments

Comments
 (0)