Skip the test instead

pull/17975/head
Yash Tibrewal 6 years ago
parent 56a93d4c18
commit ff72f3eeff
  1. 6
      src/core/lib/surface/call.cc
  2. 8
      src/core/lib/transport/error_utils.cc
  3. 1
      test/core/util/ubsan_suppressions.txt

@ -1494,9 +1494,9 @@ static void free_no_op_completion(void* p, grpc_cq_completion* completion) {
gpr_free(completion);
}
__attribute__((no_sanitize("enum"))) static grpc_call_error call_start_batch(
grpc_call* call, const grpc_op* ops, size_t nops, void* notify_tag,
int is_notify_tag_closure) {
static grpc_call_error call_start_batch(grpc_call* call, const grpc_op* ops,
size_t nops, void* notify_tag,
int is_notify_tag_closure) {
GPR_TIMER_SCOPE("call_start_batch", 0);
size_t i;

@ -44,10 +44,10 @@ static grpc_error* recursively_find_error_with_field(grpc_error* error,
return nullptr;
}
__attribute__((no_sanitize("enum"))) void grpc_error_get_status(
grpc_error* error, grpc_millis deadline, grpc_status_code* code,
grpc_slice* slice, grpc_http2_error_code* http_error,
const char** error_string) {
void grpc_error_get_status(grpc_error* error, grpc_millis deadline,
grpc_status_code* code, grpc_slice* slice,
grpc_http2_error_code* http_error,
const char** error_string) {
// Start with the parent error and recurse through the tree of children
// until we find the first one that has a status code.
grpc_error* found_error =

@ -21,3 +21,4 @@ enum:grpc_op_string
signed-integer-overflow:chrono
enum:grpc_http2_error_to_grpc_status
enum:grpc_chttp2_cancel_stream
enum:api_fuzzer

Loading…
Cancel
Save