We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e296b0d commit e9f5a31Copy full SHA for e9f5a31
test/Libraries/DynamoPythonTests/PythonTestsWithLogging.cs
@@ -176,6 +176,12 @@ public void ResetCypythonLogsToConsoleAfterRun()
176
177
RunCurrentModel();
178
CurrentDynamoModel.OnRequestPythonReset(PythonEngineManager.PythonNet3EngineName);
179
+
180
+ // Wait for all scheduler tasks to complete to ensure Python reset logging is finished
181
+ while (CurrentDynamoModel.Scheduler.ProcessNextTask(false))
182
+ {
183
+ }
184
185
foreach(var line in expectedOutput.Split(new[] { Environment.NewLine }, StringSplitOptions.RemoveEmptyEntries))
186
{
187
StringAssert.Contains(line, CurrentDynamoModel.Logger.LogText);
0 commit comments