Change 'sendCreate' to 'sendAdd'; integration passes.

This commit is contained in:
Daniel Smith
2014-08-24 17:34:05 -07:00
parent db1c0db5c7
commit 6b69ed402b
2 changed files with 14 additions and 7 deletions

View File

@@ -125,7 +125,7 @@ func TestWatch(t *testing.T) {
expectedVersion = resp.Node.ModifiedIndex
event = <-w.ResultChan()
if event.Type != watch.Deleted {
t.Fatalf("expected deleted event", event)
t.Errorf("expected deleted event %#v", event)
}
pod = event.Object.(*api.Pod)
if pod.ResourceVersion != expectedVersion {