From 66ec9bb0efd0d60d1eb676875c4ca1512bc952a7 Mon Sep 17 00:00:00 2001
From: Stanley Cheung <stanleycheung@google.com>
Date: Fri, 9 Oct 2015 13:16:48 -0700
Subject: [PATCH] php: call writesDone in interop test

---
 src/php/tests/interop/interop_client.php | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/php/tests/interop/interop_client.php b/src/php/tests/interop/interop_client.php
index d782c101c2..0590264ef8 100755
--- a/src/php/tests/interop/interop_client.php
+++ b/src/php/tests/interop/interop_client.php
@@ -261,8 +261,9 @@ function emptyStream($stub) {
   // so this test is imeplemented as a timeout to indicate the absence
   // of receiving any response from the server
   $call = $stub->FullDuplexCall(array('timeout' => 100000));
+  $call->writesDone();
   hardAssert($call->read() === null, 'Server returned too many responses');
-  hardAssert($call->getStatus()->code === Grpc\STATUS_DEADLINE_EXCEEDED,
+  hardAssert($call->getStatus()->code === Grpc\STATUS_OK,
               'Call did not complete successfully');
 }
 
-- 
GitLab