summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cpp/test/Ice/acm/AllTests.cpp2
-rw-r--r--csharp/test/Ice/acm/AllTests.cs2
-rw-r--r--java-compat/test/src/main/java/test/Ice/acm/AllTests.java2
-rw-r--r--java/test/src/main/java/test/Ice/acm/AllTests.java3
-rw-r--r--js/test/Ice/acm/Client.js2
-rw-r--r--objective-c/test/Ice/acm/AllTests.m2
-rw-r--r--python/test/Ice/acm/AllTests.py2
7 files changed, 8 insertions, 7 deletions
diff --git a/cpp/test/Ice/acm/AllTests.cpp b/cpp/test/Ice/acm/AllTests.cpp
index c12f4acdbba..8119f5ef34c 100644
--- a/cpp/test/Ice/acm/AllTests.cpp
+++ b/cpp/test/Ice/acm/AllTests.cpp
@@ -314,7 +314,7 @@ public:
proxy->sleep(4);
Lock sync(*this);
- test(_heartbeat >= 2);
+ test(_heartbeat >= 6);
}
};
diff --git a/csharp/test/Ice/acm/AllTests.cs b/csharp/test/Ice/acm/AllTests.cs
index 16fd1e2331a..852055b4da2 100644
--- a/csharp/test/Ice/acm/AllTests.cs
+++ b/csharp/test/Ice/acm/AllTests.cs
@@ -267,7 +267,7 @@ public class AllTests : TestCommon.AllTests
lock(this)
{
- test(_heartbeat >= 2);
+ test(_heartbeat >= 6);
}
}
}
diff --git a/java-compat/test/src/main/java/test/Ice/acm/AllTests.java b/java-compat/test/src/main/java/test/Ice/acm/AllTests.java
index f8c36cff469..4f1441301b2 100644
--- a/java-compat/test/src/main/java/test/Ice/acm/AllTests.java
+++ b/java-compat/test/src/main/java/test/Ice/acm/AllTests.java
@@ -315,7 +315,7 @@ public class AllTests
public void runTestCase(RemoteObjectAdapterPrx adapter, TestIntfPrx proxy)
{
proxy.sleep(4);
- test(_heartbeat >= 2);
+ test(_heartbeat >= 6);
}
}
diff --git a/java/test/src/main/java/test/Ice/acm/AllTests.java b/java/test/src/main/java/test/Ice/acm/AllTests.java
index 68c931f91fb..a06800a96ff 100644
--- a/java/test/src/main/java/test/Ice/acm/AllTests.java
+++ b/java/test/src/main/java/test/Ice/acm/AllTests.java
@@ -206,6 +206,7 @@ public class AllTests
{
TestIntfPrx proxy = TestIntfPrx.uncheckedCast(_communicator.stringToProxy(
_adapter.getTestIntf().toString()));
+
try
{
proxy.ice_getConnection().setCloseCallback(con ->
@@ -300,7 +301,7 @@ public class AllTests
public void runTestCase(RemoteObjectAdapterPrx adapter, TestIntfPrx proxy)
{
proxy.sleep(4);
- test(_heartbeat >= 2);
+ test(_heartbeat >= 6);
}
}
diff --git a/js/test/Ice/acm/Client.js b/js/test/Ice/acm/Client.js
index f63bf49c0cc..535ce23d718 100644
--- a/js/test/Ice/acm/Client.js
+++ b/js/test/Ice/acm/Client.js
@@ -207,7 +207,7 @@
{
return proxy.sleep(4).then(() =>
{
- test(this._heartbeat >= 2);
+ test(this._heartbeat >= 6);
});
}
}
diff --git a/objective-c/test/Ice/acm/AllTests.m b/objective-c/test/Ice/acm/AllTests.m
index 27ccbe31c48..dee17ea432c 100644
--- a/objective-c/test/Ice/acm/AllTests.m
+++ b/objective-c/test/Ice/acm/AllTests.m
@@ -400,7 +400,7 @@
[_cond lock];
@try
{
- test(_heartbeat >= 2);
+ test(_heartbeat >= 6);
}
@finally
{
diff --git a/python/test/Ice/acm/AllTests.py b/python/test/Ice/acm/AllTests.py
index 12955274b11..da5d3259f4a 100644
--- a/python/test/Ice/acm/AllTests.py
+++ b/python/test/Ice/acm/AllTests.py
@@ -156,7 +156,7 @@ def allTests(communicator):
proxy.sleep(4)
with self.m:
- test(self._heartbeat >= 2)
+ test(self._heartbeat >= 6)
class InvocationHeartbeatOnHoldTest(TestCase):
def __init__(self, com):