diff --git a/test/cpp/codegen/BUILD b/test/cpp/codegen/BUILD index 66d72ed2854..1388dbc6504 100644 --- a/test/cpp/codegen/BUILD +++ b/test/cpp/codegen/BUILD @@ -57,6 +57,7 @@ grpc_cc_test( grpc_cc_binary( name = "golden_file_test", + testonly = True, srcs = ["golden_file_test.cc"], deps = [ "//:grpc++",