Commit e5350d61 authored by James DeFelice's avatar James DeFelice

added comment suggested by @davidopp

parent 436790cc
...@@ -847,6 +847,8 @@ func TestEtcdCreate(t *testing.T) { ...@@ -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) { func TestEtcdCreateBindingNoPod(t *testing.T) {
registry, bindingRegistry, fakeClient, _ := newStorage(t) registry, bindingRegistry, fakeClient, _ := newStorage(t)
ctx := api.NewDefaultContext() ctx := api.NewDefaultContext()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment