-
Notifications
You must be signed in to change notification settings - Fork 16
Conversation
@@ -37,7 +38,7 @@ def test_shopify_access_request_task( | |||
merged_graph = shopify_dataset_config.get_graph() | |||
graph = DatasetGraph(merged_graph) | |||
|
|||
v = graph_task.run_access_request( | |||
v = await graph_task.run_access_request( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for taking care of this change and nailing down the root cause!
will wait until this is no longer in flux ^ |
Thanks @pattisdr I hope I caught them all with this last one, but we will see 😄 |
Just 1 test left failing. @adamsachs or @galvana can one of you point me to what the reason may be? I don't think any change I made should have affected this test. https://github.com/ethyca/fidesops/runs/8213079793?check_suite_focus=true#step:7:198 |
I wonder if there's a collision in the privacy request id. The test is failing in an area that sends high-level statistics to fideslog so we can understand how graphs change in between runs on a single privacy request if the privacy request is retried from where it failed, or is resumed from a paused state. The collections it thinks it has already processed are mailchimp collections but this is a sendgrid test. My guess is that the privacy request id we generated happened to overlap with a privacy request created in another test. I'm guessing a restart will fix this, but we should probably move to a privacy request fixture/do better about deleting privacy requests created in testing/increase the number of possible privacy request ids generated here in the future.
|
Nice find @pattisdr a collision seems like a good possibility. I restarted the tests. |
Previous one passed with a rerun, but a different failure https://github.com/ethyca/fidesops/runs/8213447951?check_suite_focus=true#step:7:124. This one looks different, but again I don't think any change here would have touched it. |
I agree, I doubt that failure is related |
@pattisdr debugging code is removed so this should be ready now. |
Co-authored-by: Paul Sanders <[email protected]>
Purpose
The
pytest-asyncio
plugin has a bug where tests patched withunittest
mocks aren't automatically recognized as async so pytest skips them. This fixes that issue.Changes
@pytest.mark.asyncio
decorator to patched tests.Checklist
CHANGELOG.md
fileCHANGELOG.md
file is being appended toUnreleased
section in an appropriate category. Add a new category from the list at the top of the file if the needed one isn't already there.Run Unsafe PR Checks
label has been applied, and checks have passed, if this PR touches any external servicesTicket
Fixes #1240