summaryrefslogtreecommitdiff
path: root/php/test
diff options
context:
space:
mode:
Diffstat (limited to 'php/test')
-rw-r--r--php/test/Ice/info/Client.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/php/test/Ice/info/Client.php b/php/test/Ice/info/Client.php
index 1e9b275b064..23e296acdba 100644
--- a/php/test/Ice/info/Client.php
+++ b/php/test/Ice/info/Client.php
@@ -121,7 +121,10 @@ function allTests($communicator)
$ipConnectionInfoClass = $NS ? "Ice\\IPConnectionInfo" : "Ice_IPConnectionInfo";
$wsConnectionInfoClass = $NS ? "Ice\\WSConnectionInfo" : "Ice_WSConnectionInfo";
- $info = $base->ice_getConnection()->getInfo();
+ $connection = $base->ice_getConnection();
+ $connection->setBufferSize(1024, 2048);
+
+ $info = $connection->getInfo();
test($info instanceof $ipConnectionInfoClass);
test(!$info->incoming);
test(strlen($info->adapterName) == 0);
@@ -131,6 +134,8 @@ function allTests($communicator)
test($info->remoteAddress == $defaultHost);
test($info->localAddress == $defaultHost);
}
+ test($info->rcvSize == 1024);
+ test($info->sndSize == 2048);
$ctx = $testIntf->getConnectionInfoAsContext();
test($ctx["incoming"] == "true");