diff --git a/src/Xamarin.Android.Build.Tasks/Tests/Xamarin.Android.Build.Tests/Utilities/BaseTest.cs b/src/Xamarin.Android.Build.Tasks/Tests/Xamarin.Android.Build.Tests/Utilities/BaseTest.cs index f59be71c4ad..e073374bff6 100644 --- a/src/Xamarin.Android.Build.Tasks/Tests/Xamarin.Android.Build.Tests/Utilities/BaseTest.cs +++ b/src/Xamarin.Android.Build.Tasks/Tests/Xamarin.Android.Build.Tests/Utilities/BaseTest.cs @@ -303,12 +303,14 @@ public void FixtureSetup () public void TestSetup () { TestContext.Out.WriteLine ($"[TESTLOG] Test {TestName} Starting"); + TestContext.Out.Flush (); } [TearDown] protected virtual void CleanupTest () { TestContext.Out.WriteLine ($"[TESTLOG] Test {TestName} Complete"); + TestContext.Out.Flush (); if (System.Diagnostics.Debugger.IsAttached || TestContext.CurrentContext.Test.Properties ["Output"] == null) return; // find the "root" directory just below "temp" and clean from there because