Merge branch '3967-improve-keepstore-logging'
[arvados.git] / services / keepstore / handler_test.go
index e246b5e6b19a5b0d3f6d48f9071d595481920546..0cfa1f30ddbd1e74ab7f5a25f931bac3905dadd3 100644 (file)
@@ -591,7 +591,7 @@ func TestDeleteHandler(t *testing.T) {
 //
 // TODO(twp): test concurrency: launch 100 goroutines to update the
 // pull list simultaneously.  Make sure that none of them return 400
-// Bad Request and that pullmgr.GetList() returns a valid list.
+// Bad Request and that pullq.GetList() returns a valid list.
 //
 func TestPullHandler(t *testing.T) {
        defer teardown()
@@ -665,8 +665,8 @@ func TestPullHandler(t *testing.T) {
        // requests on it.
        var output_list = make([]PullRequest, 3)
        for i := 0; i < 3; i++ {
-               item := <-pullmgr.NextItem
-               if pr, ok := item.Value.(PullRequest); ok {
+               item := <-pullq.NextItem
+               if pr, ok := item.(PullRequest); ok {
                        output_list[i] = pr
                } else {
                        t.Errorf("item %v could not be parsed as a PullRequest", item)