Skip to content

Commit 1bcc345

Browse files
committed
Collect more binlogs to investigate
1 parent 2e20bcb commit 1bcc345

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/Microsoft.DotNet.PackageInstall.Tests/EndToEndToolTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ public void InstallAndRunToolFromAnyRid()
267267
{
268268
IncludeAnyRid = true // will make one package with the "any" RID
269269
};
270-
string toolPackagesPath = ToolBuilder.CreateTestTool(Log, toolSettings);
270+
string toolPackagesPath = ToolBuilder.CreateTestTool(Log, toolSettings, collectBinlogs: true);
271271
var packages = Directory.GetFiles(toolPackagesPath, "*.nupkg").Select(p => Path.GetFileName(p)).ToArray();
272272
packages.Should().BeEquivalentTo([
273273
$"{toolSettings.ToolPackageId}.{toolSettings.ToolPackageVersion}.nupkg",
@@ -295,7 +295,7 @@ public void InstallAndRunToolFromAnyRidWhenOtherRidsArePresentButIncompatible()
295295
};
296296
List<string> expectedRids = [ .. ToolsetInfo.LatestRuntimeIdentifiers.Split(';').Where(rid => rid != RuntimeInformation.RuntimeIdentifier), "any"];
297297

298-
string toolPackagesPath = ToolBuilder.CreateTestTool(Log, toolSettings);
298+
string toolPackagesPath = ToolBuilder.CreateTestTool(Log, toolSettings, collectBinlogs: true);
299299
var packages = Directory.GetFiles(toolPackagesPath, "*.nupkg").Select(p => Path.GetFileName(p)).ToArray();
300300
packages.Should().BeEquivalentTo([
301301
$"{toolSettings.ToolPackageId}.{toolSettings.ToolPackageVersion}.nupkg",

0 commit comments

Comments
 (0)