Skip to content
This repository was archived by the owner on Nov 30, 2022. It is now read-only.

Conversation

@adamsachs
Copy link
Contributor

No description provided.

@adamsachs adamsachs requested a review from galvana June 22, 2022 18:49
@adamsachs adamsachs added the run unsafe ci checks Triggers running of unsafe CI checks label Jun 22, 2022
@seanpreston
Copy link
Contributor

Thanks for hopping on this @adamsachs + @galvana 🙏

@galvana galvana added run unsafe ci checks Triggers running of unsafe CI checks and removed run unsafe ci checks Triggers running of unsafe CI checks labels Jun 23, 2022
requester_email = ""
identity_email = ""

[zendesk]
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixing names here, not necessary for our build pipeline but this needs to match if you're testing locally.


privacy_request = PrivacyRequest(
id=f"test_saas_access_request_task_{random.randint(0, 1000)}"
id=f"test_hubspot_access_request_task_{random.randint(0, 1000)}"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To uniquely identify the test

f"Operational Error connecting to '{mailchimp_connection_config.key}'."
== body["failure_reason"]
f"Operational Error connecting to '{mailchimp_connection_config.key}'"
in body["failure_reason"]
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changed from a == to in since dev mode will cause the error to contain additional context.

db: Session,
generate_auth_header,
mailchimp_connection_config,
mailchimp_secrets,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed this to prevent the secrets from being output to the logs during an error.

f"Operational Error connecting to '{mailchimp_connection_config.key}'."
== body["failure_reason"]
f"Operational Error connecting to '{mailchimp_connection_config.key}'"
in body["failure_reason"]
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same fix here

@galvana galvana added run unsafe ci checks Triggers running of unsafe CI checks and removed run unsafe ci checks Triggers running of unsafe CI checks labels Jun 23, 2022
@galvana galvana self-requested a review June 23, 2022 17:21
Copy link
Collaborator

@galvana galvana left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @adamsachs for starting this off, not sure if I should be approving this since I wrote part of it too but it's just a handful of simple changes.

@galvana galvana merged commit 7975fc5 into main Jun 23, 2022
@galvana galvana deleted the 697-update-broken-references-in-integration-tests-to-outdated-host-secrets-param branch June 23, 2022 17:40
sanders41 pushed a commit that referenced this pull request Sep 22, 2022
…rastructure (#698)

Co-authored-by: Adam Sachs <adam@Adams-MacBook-Pro.local>
Co-authored-by: Adrian Galvan <adriang430@gmail.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

run unsafe ci checks Triggers running of unsafe CI checks

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update broken references in integration tests to outdated host secrets param

4 participants