We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b39525f commit 5b7638aCopy full SHA for 5b7638a
test/Microsoft.ML.AutoML.Tests/AutoFitTests.cs
@@ -408,11 +408,9 @@ public void AutoFitMaxExperimentTimeTest(int iteration)
408
// exception and all of them are grouped inside an AggregateException
409
// Must check that all exceptions are the expected one.
410
containsMessage = true;
411
- Output.WriteLine("Printing inner exceptions ... ");
412
foreach (var ex in lastAggregateException.Flatten().InnerExceptions)
413
{
414
- Output.WriteLine(ex.Message);
415
- if (!ex.Message.Contains("Operation was cancelled"))
+ if (!ex.Message.Contains(expectedExceptionMessage))
416
417
containsMessage = false;
418
}
0 commit comments