Commit Graph

9 Commits

Author SHA1 Message Date
Ashesh Vidyut 64a6b623ba
grpctest: minor improvements to the test logger implementation (#8370) 2025-07-07 11:55:00 +05:30
Doug Fawley fbff2abb0f
*: update `interface{}` to `any` and `go.mod` version to `go 1.19` (#6544) 2023-08-14 09:04:46 -07:00
Menghan Li 567da6b863
tlogger: print log type (#4774)
Error logs cause tests to fail. This makes it easier (possible) to find
the error log
2021-09-16 13:38:35 -07:00
Doug Fawley 43b19ef0e4
grpctest: extend use of mutex to guard more things (#4710) 2021-08-26 13:29:59 -07:00
Easwar Swaminathan 866de13d56
meshca: CertificateProvider plugin implementation. (#3871) 2020-09-29 17:40:30 -07:00
Easwar Swaminathan 32e7099ccc
grpctest: Minor improvements to tlogger. (#3874)
* Simplify the logic to get the file and line number or call site
* Add a monotonic clock value as a suffix. This helps with debugging of test failures due to timing issues.
2020-09-14 17:05:51 -07:00
Garrett Gutierrez fff75ae40f
channelz: log on channelz trace events and trace on channelz relevant logs. (#3329)
channelz: log on channelz trace events and trace on channelz relevant logs. (#3329)
2020-02-14 10:11:26 -08:00
Garrett Gutierrez a431daa3bc
testutil: add a mutex to tLogger to protect errors map (#3373)
tlogger: Added mutex to protect errors map.
2020-02-12 10:21:58 -08: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