Skip to content

Commit db51f3d

Browse files
committed
HACK out a test to see why CI is hanging
1 parent 022504a commit db51f3d

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

test/Microsoft.ML.Predictor.Tests/TestAutoInference.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ public void TestPipelineNodeCloning()
133133
}
134134
}
135135

136-
[Fact]
136+
/*[Fact]
137137
public void TestHyperparameterFreezing()
138138
{
139139
string pathData = GetDataPath("adult.train");
@@ -179,7 +179,7 @@ public void TestHyperparameterFreezing()
179179
Assert.NotNull(bestPipeline);
180180
Assert.Equal(bestPipeline.Learner.PipelineNode.SweepParams.First().RawValue, frozenParamValue);
181181
}
182-
}
182+
}*/
183183

184184
[Fact(Skip = "Dataset not available.")]
185185
public void TestRegressionPipelineWithMinimizingMetric()

test/Microsoft.ML.TestFramework/BaseTestBaseline.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,13 +111,21 @@ public void Init()
111111
Env = new ConsoleEnvironment(42, outWriter: LogWriter, errWriter: LogWriter)
112112
.AddStandardComponents();
113113
InitializeCore();
114+
115+
System.Diagnostics.Debug.WriteLine("ERIC: " + FullTestName + " STARTED");
116+
System.Console.WriteLine("ERIC: " + FullTestName + " STARTED");
117+
_output.WriteLine("ERIC: " + FullTestName + " STARTED");
114118
}
115119

116120
public void Cleanup()
117121
{
118122
// REVIEW: Is there a way to determine whether the test completed normally?
119123
// Requiring tests to call Done() is hokey.
120124

125+
System.Diagnostics.Debug.WriteLine("ERIC: " + FullTestName + " FINISHED");
126+
System.Console.WriteLine("ERIC: " + FullTestName + " FINISHED");
127+
_output.WriteLine("ERIC: " + FullTestName + " FINISHED");
128+
121129
CleanupCore();
122130
Contracts.Assert(IsActive);
123131
Log("Test {0}: {1}: {2}", TestName,

0 commit comments

Comments
 (0)