Граф коммитов

22 Коммитов

Автор SHA1 Сообщение Дата
Jean de Klerk 35c3afad17
Transport refactor (#2305)
internal: remove transportMonitor, replace with callbacks

This refactors the internal http2 transport to use callbacks instead
of continuously monitoring the transport in a separate goroutine. This
has several advantages:

- Less goroutines.
- Less complexity: synchronous callbacks are much easier to reason to
reason about than asynchronous monitoring goroutines.
- Callbacks: these provide definitive locations for monitoring the
creation and closure of a transport, paving the way for GracefulStop.

This CL also consolidates all the logic about backoff and iterating
through the list of addresses into a single method.
2018-09-20 15:45:40 -07:00
dfawley ba4eb68a02
Travis/Makefile/vet cleanups (#2283)
- .travis.yml:
  - Download dependencies at install time
  - Run race and non-race in separate instances
  - Use braces around env var names
- vet.sh:
  - Run `go mod tidy` to keep it tidy
  - Stop filtering transport errors from go/vet output
  - Use braces around env var names
- Makefile:
  - Reorder alphabetically
  - Add "vetdeps" as a dependency of "vet"
  - Add "testappengine" to "all"
2018-09-04 15:10:01 -07:00
lyuxuan cd69bb2707
testing: run test in simulated appengine environment (#2145) 2018-06-21 13:09:46 -07:00
Menghan Li 4172bfc25e
documentation: add instructions for running tests locally (#2006) 2018-04-19 17:17:21 -07:00
dfawley fb4b2b29e4 reduce timeout for tests to 5m (7m for testrace) (#1635) 2017-10-31 14:07:09 -07:00
Menghan Li 7103997bd8 Run tests without -v (#1562) 2017-10-04 14:23:20 -07:00
dfawley d6870035ab Check "x/net/context" with `go vet` like "context" (#1490)
* Check "x/net/context" with `go vet` like "context"

Includes a signficant revamp of .travis.yml to execute a separate script for
all of the things we check before allowing a merge.

* fix bug in benchmain
2017-08-29 15:40:57 -07:00
dfawley 25b4a426b4 go-generate pb.go files and check in Travis to make sure they don't change (#1426) 2017-08-17 16:00:51 -07:00
ZhouyihaiDing f0c566b827 benchmark: add latency/MTU/bandwidth into testcases (#1304) 2017-06-23 14:22:51 -07:00
ZhouyihaiDing ba30de56b8 use subtests for the benchmark_test and add it into the Makefile (#1278)
* use subtests for the benchmark_test and add it into the Makefile

* benchmark: keep the original benchmark_test as version 16. use subtests benchmark as 17
2017-06-12 14:52:33 -07:00
Menghan Li bc315c855f Add comment for proto in Makefile 2016-06-09 14:40:28 -07:00
Menghan Li 147022d136 Run protoc on proto files in same package together 2016-06-08 14:47:37 -07:00
Peter Edge bc6951eb0b Update Makefile.
Signed-off-by: Peter Edge <peter.edge@gmail.com>
2016-03-29 00:05:04 +02:00
iamqizhao 0be6721c85 coverage on multiple packages 2015-11-06 13:26:24 -08:00
iamqizhao bda7f81e9a add -v 2015-09-28 18:54:00 -07:00
iamqizhao 6b055d5daf fix typo 2015-09-28 17:44:12 -07:00
iamqizhao e80c8e9226 fix 2015-09-28 17:40:23 -07:00
iamqizhao b800403045 fix 2015-06-12 18:17:36 -07:00
iamqizhao 2579d72e57 remove lint from Makefile. It could give false alarms. 2015-06-12 17:57:50 -07:00
Peter Edge 193def8df4 actually put in google.golang.org/grpc reference in Makefile
Signed-off-by: Peter Edge <peter.edge@gmail.com>
2015-05-24 16:27:48 +02:00
Peter Edge 7b50c34edb add make proto and update protos 2015-05-24 16:14:32 +02:00
Peter Edge f5bae617c6 Add a Makefile to show development commands
Signed-off-by: Peter Edge <peter.edge@gmail.com>
2015-05-24 16:05:35 +02:00