diff options
author | Lluis Sanchez <llsan@microsoft.com> | 2022-09-14 18:16:43 +0300 |
---|---|---|
committer | Lluis Sanchez <llsan@microsoft.com> | 2022-09-14 18:16:43 +0300 |
commit | 8b166bdedb082f83e6dbdaf4da03e95ca6745860 (patch) | |
tree | e48953b0c329c90daf58910ecbebced72fb219cf /Test | |
parent | 1882ba6ced2699f4db93131634bd10a8b896f279 (diff) |
Increase timeouts to account for slow CI machines
Diffstat (limited to 'Test')
-rw-r--r-- | Test/UnitTests/TestMultithreading.cs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Test/UnitTests/TestMultithreading.cs b/Test/UnitTests/TestMultithreading.cs index f4eb63a..646cdef 100644 --- a/Test/UnitTests/TestMultithreading.cs +++ b/Test/UnitTests/TestMultithreading.cs @@ -38,7 +38,7 @@ namespace UnitTests GlobalInfoCondition.Value = "foo"; - testData.CheckCounters (1, 1000); + testData.CheckCounters (1, 10000); GlobalInfoCondition.Value = ""; } @@ -75,12 +75,12 @@ namespace UnitTests var ainfo1 = AddinManager.Registry.GetAddin ("SimpleApp.HelloWorldExtension"); ainfo1.Enabled = false; - testData.CheckCounters (3, 1000); + testData.CheckCounters (3, 10000); var ainfo2 = AddinManager.Registry.GetAddin ("SimpleApp.FileContentExtension"); ainfo2.Enabled = false; - testData.CheckCounters (2, 1000); + testData.CheckCounters (2, 10000); ainfo1.Enabled = true; ainfo2.Enabled = true; @@ -152,7 +152,7 @@ namespace UnitTests }); // Wait for the threads to do the work. 5 seconds should be enough - enablers.CheckCounters(1, 5000); + enablers.CheckCounters(1, 20000); // Go back to the initial status @@ -184,7 +184,7 @@ namespace UnitTests GlobalInfoCondition.Value = "foo"; - testData.CheckCounters (1, 1000); + testData.CheckCounters (1, 10000); GlobalInfoCondition.Value = ""; } |