Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono-addins.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLluis Sanchez <lluis@xamarin.com>2022-11-04 15:57:45 +0300
committerLluis Sanchez <lluis@xamarin.com>2022-11-04 15:57:45 +0300
commite89f6cbc6e7ee5cc650d1106ba4176ae277aa0e9 (patch)
tree352eb9324649bffa6731f268157572d214498aa7
parentc3be4f3ddbb4a00b2c651d406a613b28c69a4dac (diff)
Try to fix flaky test
-rw-r--r--Test/UnitTests/TestMultithreading.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/Test/UnitTests/TestMultithreading.cs b/Test/UnitTests/TestMultithreading.cs
index 64a560a..6304372 100644
--- a/Test/UnitTests/TestMultithreading.cs
+++ b/Test/UnitTests/TestMultithreading.cs
@@ -67,6 +67,7 @@ namespace UnitTests
var writers = AddinManager.GetExtensionObjects<IWriter> ("/SimpleApp/Writers");
testData.Counters [index] = writers.Length;
}
+ testData.Counters[index] = 0;
});
for (int n = 0; n < steps; n++) {
@@ -87,6 +88,9 @@ namespace UnitTests
ainfo1.Enabled = true;
ainfo2.Enabled = true;
}
+
+ testData.Stopped = true;
+ testData.CheckCounters(0, 10000);
}
void LoadAll(IEnumerable<ExtensionNode> nodes)