summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorE.Z. Hart <hartez@gmail.com>2016-11-21 09:11:33 -0700
committerE.Z. Hart <hartez@gmail.com>2016-11-21 09:11:33 -0700
commit55b8a43b5be42e522a98310eb09a278fcd21ab97 (patch)
tree4d80b9818c6b3dfd983fd10481c0b3aa13942db7
parent33a5f443d31a250b9b956f9039daeea67faf6555 (diff)
downloadxamarin-forms-55b8a43b5be42e522a98310eb09a278fcd21ab97.tar.gz
xamarin-forms-55b8a43b5be42e522a98310eb09a278fcd21ab97.tar.bz2
xamarin-forms-55b8a43b5be42e522a98310eb09a278fcd21ab97.zip
Turning down number of consecutive tests to avoid jetsam ejections on iOS
-rw-r--r--Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/TestPages/TestPages.cs3
-rw-r--r--Xamarin.Forms.Core.iOS.UITests/BaseTestFixture.cs5
2 files changed, 5 insertions, 3 deletions
diff --git a/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/TestPages/TestPages.cs b/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/TestPages/TestPages.cs
index 32a88642..d5b5afdd 100644
--- a/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/TestPages/TestPages.cs
+++ b/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/TestPages/TestPages.cs
@@ -186,10 +186,11 @@ namespace Xamarin.Forms.Controls
}
static int s_testsrun;
- const int ConsecutiveTestLimit = 40;
+ const int ConsecutiveTestLimit = 30;
// Until we get more of our memory leak issues worked out, restart the app
// after a specified number of tests so we don't get bogged down in GC
+ // (or booted by jetsam)
public static void EnsureMemory()
{
if (RunningApp != null)
diff --git a/Xamarin.Forms.Core.iOS.UITests/BaseTestFixture.cs b/Xamarin.Forms.Core.iOS.UITests/BaseTestFixture.cs
index 1b64fbbc..db28993d 100644
--- a/Xamarin.Forms.Core.iOS.UITests/BaseTestFixture.cs
+++ b/Xamarin.Forms.Core.iOS.UITests/BaseTestFixture.cs
@@ -26,10 +26,11 @@ namespace Xamarin.Forms.Core.UITests
}
static int s_testsrun;
- const int ConsecutiveTestLimit = 40;
+ const int ConsecutiveTestLimit = 30;
// Until we get more of our memory leak issues worked out, restart the app
- // after a specified number of tests so we don't get bogged down in GC
+ // after a specified number of tests so we don't get bogged down in GC
+ // (or booted by jetsam)
public void EnsureMemory()
{
s_testsrun += 1;