x/pkgsite: add function to set up test queue #40098
Closed
Labels
Milestone
Comments
The link for where the code is duplicated within |
@julieqiu |
@amarjeetanandsingh please do! |
@julieqiu Can I work on this? |
@julieqiu queue.InMemory seems to be working effectively as a test helper and to be invoked by no other than test code. Isn't it necessary to create another function? |
Nope - this issue seems to be outdated. Thanks for taking a look! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There are a couple of places in the code where we want to set up a queue for testing:
internal/frontend/server_test.go
: https://github.com/golang/pkgsite/blob/master/internal/frontend/server_test.go#L992-L999internal/testing/integration/frontend_test.go
: TODO - add linkIt would be useful to have a single setupQueue function for use in testing.
The text was updated successfully, but these errors were encountered: