Prashant Rewar
fef5da99bd
Replace all usages of deprecated wait.PollImmediate with wait.PollUntilContextTimeout ( #3004 )
...
Signed-off-by: Prashant Rewar <108176843+prashantrewar@users.noreply.github.com>
2024-04-02 14:44:03 +00:00
Christoph Stäbler
294e777acf
Add rest.Config to fake context in SetupFakeContext ( #2847 )
2023-10-02 13:16:30 +00:00
Kenjiro Nakayama
c11003ae6d
Use go sync/atomic instead of go.uber.org/atomic ( #2777 )
...
* wip
* tiny fix
* Fix controller/controller_test.go
* fix metrics.go
* Fix profiling/server.go
* Fix reconciler/testing
* update ./test/spoof/spoof_test.go
* Fix ./test/zipkin/util.go
* update go.uber.org/atomic
2023-08-02 16:26:48 +00:00
ying
5ac4a75f34
add optional fs() to edit fake ctx for testing purpose ( #2057 )
2021-04-05 23:48:38 -07:00
Victor Agababov
b558677ab0
Use TB interface, rather than T pointer when doing test stuff ( #2064 )
...
* Use TB interface, rather than T pointer when doing test stuff
this will permit passing testing.B everywhere too!
/assign @markusthoemmes @dprotaso
* rm-todo
2021-03-23 13:29:17 -07:00
Markus Thömmes
c326b70b83
Add RunAndSyncInformers helper that makes sure informers are synced in tests ( #2055 )
...
* Add RunAndSyncInformers helper that makes sure informers are synced in tests
* Review stuff
* Drop Println
2021-03-10 23:53:26 -08:00
Markus Thömmes
52cba6da6d
Generalize SetupFakeContext to be able to serve tests and benchmarks. ( #1134 )
2020-03-03 08:33:53 -08:00
Victor Agababov
e9c7aefce0
fix ( #631 )
2019-09-03 20:41:01 -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
Matt Moore
c6f03fa600
Push the event recorder stuff into knative/pkg ( #443 )
2019-06-06 07:35:40 -07:00