grpc-web/scripts
ChrisPorterDevEx 2782564edb
test: build test
This a test, please don't accept or merge it.
2023-06-24 12:06:17 +03:00
..
README.md Internal code sync (#1140) 2021-09-28 10:48:20 -07:00
docker-run-build-tests.sh Internal code sync (#1140) 2021-09-28 10:48:20 -07:00
docker-run-interop-tests.sh Trying to speed up tests 2020-04-29 15:51:24 -07:00
docker-run-jsunit-tests.sh Revamp Closure JsUnit tests runtime and optimize test/build flows. (#1137) 2021-09-21 15:27:21 -07:00
docker-run-mocha-tests.sh Revamp Closure JsUnit tests runtime and optimize test/build flows. (#1137) 2021-09-21 15:27:21 -07:00
init_submodules.sh Replace use of `third_party/closure-library` submodule 2021-09-01 18:17:14 -07:00
kokoro.sh No need to specify the env var explicitly 2020-04-29 15:51:24 -07:00
release_notes.py Fix release notes script to handle empty PR descriptions. (#1196) 2022-02-08 11:21:45 -08:00
run_basic_tests.sh test: build test 2023-06-24 12:06:17 +03:00
run_interop_tests.sh Update Debian (and other deps) and remove Java In-process Proxy (#1335) 2023-05-14 02:57:11 -07:00
test-proxy.sh Revamp Closure JsUnit tests runtime and optimize test/build flows. (#1137) 2021-09-21 15:27:21 -07:00

README.md

Scripts

A collection of scripts (mostly test related).

Troubleshooting - Bazel Crashes (OOM)

Bazel can be memory hungry and often crashes while building on Mac with default Docker memory settings (2GB) (similar reports: here and here).

Bump the memory settings in Docker Desktop for Mac (e.g. to 4 - 6GB) if you see the following errors:

$ bazel build //javascript/net/grpc/web/generator/... //net/grpc/gateway/examples/echo/...

...

Server terminated abruptly (error code: 14, error message: 'Socket closed', log file: '/root/.cache/bazel/_bazel_root/.../server/jvm.out')

------

failed to solve: rpc error: code = Unknown desc = executor failed running [/bin/sh -c bazel build javascript/net/grpc/web/... &&   cp $(bazel info bazel-genfiles)/javascript/net/grpc/web/protoc-gen-grpc-web   /usr/local/bin/protoc-gen-grpc-web]: exit code: 37