apiserver/pkg/storage
Steve Kuznetsov 42854c1734 pkg/storage/etcd3: be more precise in watch test
Previously, this test assumed that:
 - a global watch would return only an event for the key in question
 - only the delete event in question would be returned

Neither of these assumptions are correct for an etcd backend as long
as any other clients are interacting with the system. This commit
makes the watch more specific and extracts the correct event.

Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>

Kubernetes-commit: 2631c0a0f959bd67aa455045dce33e77150ab5f8
2022-03-23 12:59:53 -08:00
..
cacher find and replace 2022-03-17 18:50:38 +00:00
errors Fix function name of IsExist err 2022-03-19 23:06:51 +08:00
etcd3 pkg/storage/etcd3: be more precise in watch test 2022-03-23 12:59:53 -08:00
names specify pod name and hostname in indexed job 2021-04-29 03:33:36 +00:00
storagebackend add latency tracker for storage and transform 2022-02-01 18:13:03 -05:00
testing OWNERS cleanup - Jan 2021 Week 1 2022-01-03 10:59:47 -05:00
tests Unify merge GetToList and List storage methods to single GetList 2022-02-10 10:15:29 +01:00
value storage: transformers: pass a context.Context 2022-02-17 07:29:44 -08:00
OWNERS OWNERS cleanup - Jan 2021 Week 1 2022-01-03 10:59:47 -05:00
doc.go move pkg/storage to apiserver 2017-02-01 07:33:52 -05:00
errors.go Fix function name of IsExist err 2022-03-19 23:06:51 +08:00
interfaces.go Unify merge GetToList and List storage methods to single GetList 2022-02-10 10:15:29 +01:00
selection_predicate.go validate storage cache indexers 2020-02-05 12:08:14 +08:00
selection_predicate_test.go Fix staticcheck failures 2021-04-02 12:23:30 +08:00
util.go Simplify trigger functions in cacher 2019-07-04 14:21:06 +02:00
util_test.go move cacher in separate dir 2018-05-30 20:44:31 +08:00