AutoML 将测试输出写入了测试之外,导致测试过程失败,但没有任何失败的测试用例
未处理的异常: System.AggregateException: 发生了一或多个错误。 ---> System.InvalidOperationException: 当前没有正在运行的测试。 详细信息: Xunit.Sdk.TestOutputHelper.GuardInitialized() in /_/src/xunit.execution/Sdk/Frameworks/TestOutputHelper.cs:line 52 Xunit.Sdk.TestOutputHelper.QueueTestOutput(String output) in /_/src/xunit.execution/Sdk/Frameworks/TestOutputHelper.cs:line 63 Microsoft.ML.AutoML.Test.AutoMLExperimentTests.<AutoMLExperiment_finish_training_when_time_is_up_Async>b__5_0(Object o, LoggingEventArgs e) in D:\a\_work\1\s\test\Microsoft.ML.AutoML.Tests\AutoMLExperimentTests.cs:line 159 Microsoft.ML.MLContext.ProcessMessage(IMessageSource source, ChannelMessage message) in D:\a\_work\1\s\src\Microsoft.ML.Data\MLContext.cs:line 162 Microsoft.ML.Runtime.HostEnvironmentBase`1.Dispatcher`1.DispatchCore(IMessageSource sender, TMessage message) in D:\a\_work\1\s\src\Microsoft.ML.Core\Environment\HostEnvironmentBase.cs:line 313 Microsoft.ML.Runtime.HostEnvironmentBase`1.ChannelBase.Info(MessageSensitivity sensitivity, String msg) in D:\a\_work\1\s\src\Microsoft.ML.Core\Environment\HostEnvironmentBase.cs:line 256 Microsoft.ML.Runtime.HostExtensions.Info(IChannel ch, String fmt) in D:\a\_work\1\s\src\Microsoft.ML.Core\Data\IHostEnvironment.cs:line 314 Microsoft.ML.AutoML.CancellationTokenStopTrainingManager.<.ctor>b__5_0() in D:\a\_work\1\s\src\Microsoft.ML.AutoML\AutoMLExperiment\IStopTrainingManager.cs:line 36 System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state,
内容来源: dotnet/machinelearning