From e5350d61a815ad28c9e8065d73b3048a6f80955d Mon Sep 17 00:00:00 2001 From: James DeFelice Date: Mon, 2 Mar 2015 11:53:23 -0500 Subject: [PATCH] added comment suggested by @davidopp --- pkg/registry/pod/etcd/etcd_test.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/registry/pod/etcd/etcd_test.go b/pkg/registry/pod/etcd/etcd_test.go index 5bd7dbcec7d..f06b9fc829c 100644 --- a/pkg/registry/pod/etcd/etcd_test.go +++ b/pkg/registry/pod/etcd/etcd_test.go @@ -847,6 +847,8 @@ func TestEtcdCreate(t *testing.T) { } } +// Ensure that when scheduler creates a binding for a pod that has already been deleted +// by the API server, API server returns not-found error. func TestEtcdCreateBindingNoPod(t *testing.T) { registry, bindingRegistry, fakeClient, _ := newStorage(t) ctx := api.NewDefaultContext()