Skip to content

Commit 54fa44f

Browse files
testing light gbm tests sequentially (#6968)
1 parent 125b6d5 commit 54fa44f

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

test/Microsoft.ML.TestFramework/BaseTestClass.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ void IDisposable.Dispose()
8181
Cleanup();
8282
Process proc = Process.GetCurrentProcess();
8383
Console.WriteLine($"Finished test: {FullTestName} " +
84-
$"with memory usage {proc.WorkingSet64.ToString("N", CultureInfo.InvariantCulture)}");
84+
$"with memory usage {proc.WorkingSet64.ToString("N", CultureInfo.InvariantCulture)} and max memory usage {proc.PeakWorkingSet64.ToString("N", CultureInfo.InvariantCulture)}");
8585
}
8686

8787
protected virtual void Initialize()

test/Microsoft.ML.Tests/TrainerEstimators/TreeEstimators.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@
2424

2525
namespace Microsoft.ML.Tests.TrainerEstimators
2626
{
27+
[CollectionDefinition(nameof(NoParallelizationDefinition), DisableParallelization = true)]
28+
public class NoParallelizationDefinition { }
29+
30+
[Collection(nameof(NoParallelizationDefinition))]
2731
public partial class TrainerEstimators : TestDataPipeBase
2832
{
2933
/// <summary>

0 commit comments

Comments
 (0)