Commit Graph

14 Commits

Author SHA1 Message Date
Doug Fawley d074cae66b
github: fold security tests into 'tests'; update testing to 1.17-1.15 (#4708) 2021-08-26 11:21:36 -07:00
Menghan Li f168a3cb3b
c2p: add google-c2p resolver (#4204) 2021-03-11 14:17:43 -08:00
Gaurav Gahlot d7a7a304ff
testing: Avoid using context.Background (#3949) 2020-11-05 09:25:17 -08:00
Easwar Swaminathan a3e63e87bd
alts: Specify the build constraints correctly. (#3877)
From the official docs:
A build constraint is evaluated as the OR of space-separated options.
Each option evaluates as the AND of its comma-separated terms.
2020-09-15 09:53:04 -07:00
Easwar Swaminathan 0b575750a9
credentials/alts: Skip ALTS tests on darwin. (#3859)
Anyways, only linux and windows are supported platforms. Running these
tests on darwin causes a top level `make test` to fail, and one has to
scroll all the way up to realize that it is only these alts tests which
have failed, and not something that one is actively working on.
2020-09-01 17:43:01 -07:00
Anton Nep 48bf772d0c
credentials/alts: ClientAuthorizationCheck to case-fold compare of peer SA (#3792) 2020-09-01 16:23:56 -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
Cesar Ghali a2a5ae5d4d
credentials/alts: Add Client Authorization Utility API (#3271)
Add client authorization util API
2019-12-20 10:01:56 -08:00
Michael Hudson-Doyle d5a36f00e6 credentials/alts: Assume not running on GCP if DMI not present (#2996)
fixes #2995
2019-08-26 17:06:13 -07:00
Doug Fawley 04ea82009c
cleanup: replace "x/net/context" import with "context" (#2439) 2018-11-12 13:30:41 -08:00
Cesar Ghali 0150fc5d50
credentials/alts: Move alts/core to alts/internal (#2292) 2018-09-05 15:15:42 -07:00
Cesar Ghali a91fb537b1
credentials/alts: Add ALTS AuthInfoFromPeer API (#2269) 2018-08-28 10:44:03 -07:00
Cesar Ghali 419de394cf Add AuthInfoFromContext utility API (#2062) 2018-05-11 14:16:43 -07:00
Cesar Ghali 2e7e633fea Add ALTS code (#1865) 2018-02-26 17:02:59 -08:00