Commit Graph

9 Commits

Author SHA1 Message Date
Victor Agababov 8d478d55c0
Remove ClearAll from the codebase (#1657)
now that I've verified it does not exist in any of the repos that are of any importance
we can remove it :-)
2020-08-27 16:14:07 -07:00
Victor Agababov f6cfa4c47c
Clean context.TODO in pkg and other minor nits (#1337)
- TODO is for migration, we know we want background there
- other nits
2020-05-15 10:58:02 -07:00
Matt Moore 9b3ea736c6
golang format tools (#1102)
Produced via:
  `gofmt -s -w $(find -path './vendor' -prune -o -path './third_party' -prune -o -type f -name '*.go' -print)`
  `goimports -w $(find -name '*.go' | grep -v vendor | grep -v third_party)`
/assign n3wscott
/cc n3wscott
2020-02-18 06:47:59 -08:00
savitaashture 0fcde3c27d
Modify TestLogger util function to support for Benchmark testing (#1074)
* Modify TestLogger util function to support for Benchmark type

* fix review comment

* fix review comment
2020-02-17 06:52:09 -08:00
Tara Gu 06918f4c69 Remove caching in test logger setup (#661)
* Remove caching in test logger setup

* Revert "Remove caching in test logger setup"

This reverts commit e3c5349e3c.

* Don't create new logger in SetupFakeContextWithCancel

* Revert "Don't create new logger in SetupFakeContextWithCancel"

This reverts commit 2d57ccf028.

* Remove test logger cache, and leave an empty shell for ClearAll()
2019-09-20 10:42:06 -07:00
Matt Moore 222dd25986 Migrate pkg to use the knative.dev/pkg import path (#489)
* Manual changes.

* scripted changes.
2019-06-26 13:02:06 -07:00
Victor Agababov 5db4e8e38e Clean test loggers (#266)
* fix very annoying logging in the integration tests

* Add clean test loggers method.

This would help us run the tests over-and-over again.
Currently the test hogs `t` and that object is not reusable.
2019-02-10 08:13:42 -08:00
Dave Protasowski 2b6bdaba3b Use zaptest logger for our TestLogger (#89)
* Bump go.uber.org/zap to 67bc79

* Use the zaptest logger which uses testing.T.Log methods
2018-09-25 21:40:20 -07:00
Matt Moore 8b7b2d7cfb Move the logging packages from serving into pkg. (#21) 2018-07-27 09:53:35 -07:00