Geo: Fix test setup of Git requests against secondary sites
Problem
The following discussion from !166965 (merged) should be addressed:
-
@mkozono started a discussion:
issue: We are fixing the handling of a request that originates from a user. But this kind of authorization can only originate from a secondary Geo site. It looks like all tests in this spec that make a request against a secondary Geo site are doing this. It makes the tests less representative of reality. I assume this is at least part of why you are seeing
Unexpected actor :geo
.It shouldn't be hard to fix this for all tests in the
when current node is a secondary
context, by copying test setup from some other git_http spec (I think set up a user and add them as a developer of the project).Let's be sure to do this in a follow up.