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 <llsan@microsoft.com>2022-11-04 17:31:07 +0300
committerGitHub <noreply@github.com>2022-11-04 17:31:07 +0300
commitab1052aaa3c38a9638f887f79ecc0bedbff302ab (patch)
tree352eb9324649bffa6731f268157572d214498aa7
parentc3be4f3ddbb4a00b2c651d406a613b28c69a4dac (diff)
parente89f6cbc6e7ee5cc650d1106ba4176ae277aa0e9 (diff)
Merge pull request #202 from mono/dev/lluis/fix-flaky-test
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)