diff --git a/src/php/tests/interop/interop_client.php b/src/php/tests/interop/interop_client.php index d782c101c2365a9c6bdffad2eecd96b25f63e0e3..0590264ef80ba351f44a5535c46f7d798e80afda 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'); }