aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Stanley Cheung <stanleycheung@google.com>2015-08-21 14:36:22 -0700
committerGravatar Stanley Cheung <stanleycheung@google.com>2015-08-27 09:42:51 -0700
commit4135a219c59271fb00327b9a4095937549eb394c (patch)
tree66d6a55e0cb7a3e0bfaabe1b74e952502aaff825
parent69e9747eb9ada375c8a3c685682f73af8487ca2c (diff)
php: add comment for why cancel_after_begin cannot be done
-rwxr-xr-xsrc/php/tests/interop/interop_client.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/php/tests/interop/interop_client.php b/src/php/tests/interop/interop_client.php
index ed7b073f8f..bd15ee4303 100755
--- a/src/php/tests/interop/interop_client.php
+++ b/src/php/tests/interop/interop_client.php
@@ -368,6 +368,11 @@ switch ($args['test_case']) {
case 'jwt_token_creds':
jwtTokenCreds($stub, $args);
break;
+ case 'cancel_after_begin':
+ // Currently unimplementable with the current API design
+ // Specifically, in the ClientStreamingCall->start() method, the
+ // messages are sent immediately after metadata is sent. There is
+ // currently no way to cancel before messages are sent.
default:
exit(1);
}