test that cacheable flag is set

pull/7953/head
Makarand Dharmapurikar 9 years ago
parent 015180a8f4
commit f1e079377b
  1. 1
      test/core/end2end/tests/simple_cacheable_request.c

@ -235,6 +235,7 @@ static void test_cacheable_request_response_with_metadata_and_payload(
GPR_ASSERT(0 == strcmp(details, "xyz"));
GPR_ASSERT(0 == strcmp(call_details.method, "/foo"));
GPR_ASSERT(0 == strcmp(call_details.host, "foo.test.google.fr"));
GPR_ASSERT(GRPC_INITIAL_METADATA_CACHEABLE_REQUEST & call_details.flags);
GPR_ASSERT(was_cancelled == 0);
GPR_ASSERT(byte_buffer_eq_string(request_payload_recv, "hello world"));
GPR_ASSERT(byte_buffer_eq_string(response_payload_recv, "hello you"));

Loading…
Cancel
Save