Skip to content

Commit

Permalink
macos asan
Browse files Browse the repository at this point in the history
  • Loading branch information
onelxj committed Jul 6, 2023
1 parent 5af723f commit 846077b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
- os: macos-latest
sudo-command: "sudo"
bazel-command: "bazelisk"
bazel-config: ""
bazel-config: "--config=asan --copt -U_FORTIFY_SOURCE --copt=-D_FORTIFY_SOURCE=1"
output-user_root: ""
- os: ubuntu-latest
sudo-command: "sudo"
Expand Down
2 changes: 2 additions & 0 deletions test/grpc/streaming/streaming.cc
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ void test_client_behavior(
::grpc::InsecureChannelCredentials(),
pool.Borrow());

// We are taking 'Task' instead of template here because of perfomance things.
// We are limited by the environment, so it allows to use less resourses.
auto call = [&]() -> Task::Of<::grpc::Status>::Raises<RuntimeError> {
return [&]() {
return client.Call<
Expand Down
3 changes: 3 additions & 0 deletions test/grpc/streaming/streaming.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ using stout::Borrowable;
// _[AfterReply|BeforeReply]
// _[OneRequest|TwoRequests]

// We are taking 'Task' instead of template here because of perfomance things.
// Environment we are running on has some RAM limits, so it allows to use less
// resourses while building.
void test_client_behavior(
Task::From<
ClientCall<
Expand Down

0 comments on commit 846077b

Please sign in to comment.