Switch watch prefixes to params

This commit is contained in:
Jordan Liggitt
2017-01-09 16:21:23 -05:00
parent e6dbe5f57e
commit 7b6ef2cedc
12 changed files with 60 additions and 33 deletions

View File

@@ -354,7 +354,7 @@ func TestGCListWatcher(t *testing.T) {
if e, a := 2, len(testHandler.actions); e != a {
t.Errorf("expect %d requests, got %d", e, a)
}
if e, a := "resourceVersion=1", testHandler.actions[0].query; e != a {
if e, a := "resourceVersion=1&watch=true", testHandler.actions[0].query; e != a {
t.Errorf("expect %s, got %s", e, a)
}
if e, a := "resourceVersion=1", testHandler.actions[1].query; e != a {