Commit Graph

6 Commits

Author SHA1 Message Date
Doug Fawley b98104ec5a
buffer & grpcsync: various cleanups and improvements (#6785) 2023-11-15 09:31:57 -08:00
Doug Fawley fbff2abb0f
*: update `interface{}` to `any` and `go.mod` version to `go 1.19` (#6544) 2023-08-14 09:04:46 -07:00
Ernest Nguyen Hung 7dfd71831d
internal/buffer: add Close method to the Unbounded buffer type (#6161) 2023-04-18 16:53:59 -07:00
Garrett Gutierrez 132187f04c
Modified tests to use tlogger. (#3343)
* Modified tests to use tlogger.

* Fail on errors, with error expectations.

* Added expects and MixedCapsed grpclb_config tests

* Moved tlogger to grpctest, moved leakcheck tester to grpctest.go

* Added ExpectErrorN()

* Removed redundant leak checks

* Fixed new test

* Made tlogger globals into tlogger methods

* ErrorsLeft -> EndTest

* Removed some redundant lines

* Fixed error in test and empty map in EndTest
2020-02-06 13:03:20 -08:00
Easwar Swaminathan 81a07a98fe
internal: Improve documentation around buffer.Unbounded (#3241) 2019-12-10 13:45:32 -08:00
Easwar Swaminathan 583401aac5
Add a general purpose unbounded buffer implementation (#3099)
This PR moves the unbounded buffer implementation found in
`scStateUpdateBuffer` to the internal package. It also makes the buffer
work with `interface{}` type.

This addresses a TODO in the existing code. This will also help with the
eventual `BalancerManager` implementation which will supersede the
`ccBalancerWrapper` implementation found in balancer_conn_wrappers.go.
2019-11-04 14:22:16 -08:00