Skip to content

Commit

Permalink
Fix tsan error in the ext_proc_grpc_fuzz_test_persistent test (#28000)
Browse files Browse the repository at this point in the history
Signed-off-by: Yan Avlasov <yavlasov@google.com>
Signed-off-by: Ryan Northey <ryan@synca.io>
  • Loading branch information
yanavlasov authored and phlax committed Jun 23, 2023
1 parent 4cd2239 commit da6473b
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions test/extensions/filters/http/ext_proc/test_processor.cc
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,6 @@ grpc::Status ProcessorWrapper::Process(
(*context_callback_)(ctx);
}
callback_(stream);
if (testing::Test::HasFatalFailure()) {
// This is not strictly necessary, but it may help in troubleshooting to
// ensure that we return a bad gRPC status if an "ASSERT" failed in the
// processor.
return grpc::Status(grpc::StatusCode::INVALID_ARGUMENT, "Fatal test error");
}
return grpc::Status::OK;
}

Expand Down

0 comments on commit da6473b

Please sign in to comment.