test: add column ACLs test with real policy tag#678
Conversation
|
Does the policy tag feature require adding the CI project to a list of allowed projects for the feature? The second failure (in |
shollyman
left a comment
There was a problem hiding this comment.
Thanks for putting this together.
If I understood correctly, then no, but apparently there's still some missing piece to make this work. @shollyman ?
It's the first time I'm seeing this, but this explanation sounds plausible. It's slightly worrying that the test is not completely isolated, but it to date it hasn't caused problems. One option would be to change the assertion to "less or equal", although that could also be masking the tests interference. I'd say we keep an eye on it, but don't try to fix it, unless the flakiness becomes problematic. |
|
I seem to be able to use the client without issue. sample code: invocation: |
Generally, if the service isn't enabled it's generally clear about the error (and the text usually has a link to enable the service) as this is handled centrally. I don't appear to have access to the python test project with my personal credentials so I'm only getting permission denied responses when I attempt to use it. |
|
and apparently I mangled Peter's previous comment somehow instead of quoting it in my own. |
|
I see the full project path is used for the If I change that to a full project path, I start getting a permission denied error, but that actually seems OK, as my test service account does not have any DataCatalog roles granted. After fixing that, things actually started working. Is there any way to make the backend error message more informative? Edit: Same result if providing a completely random non-existing project ID. Edit 2: However, providing a project path of a non-existing project results in Edit 3: Providing a project without location, e.g. |
shollyman
left a comment
There was a problem hiding this comment.
Thanks for sticking with this.
Closes #614.
This is the test, PTAL. I could not test it locally, though, the backend still responds with UNIMPLEMENTED error. Am I missing anything?
PR checklist: