Skip to content
This repository was archived by the owner on Mar 6, 2026. It is now read-only.

feat: add integration tests for pluggable auth#1073

Merged
clundin25 merged 8 commits intogoogleapis:mainfrom
ScruffyProdigy:integration-pluggable
Aug 1, 2022
Merged

feat: add integration tests for pluggable auth#1073
clundin25 merged 8 commits intogoogleapis:mainfrom
ScruffyProdigy:integration-pluggable

Conversation

@ScruffyProdigy
Copy link
Copy Markdown
Contributor

No description provided.

Copy link
Copy Markdown

@TimurSadykov TimurSadykov left a comment

Choose a reason for hiding this comment

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

so far only comment request, in progress

Copy link
Copy Markdown

@TimurSadykov TimurSadykov left a comment

Choose a reason for hiding this comment

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

LGTM, but please add comments to the test )

@ScruffyProdigy ScruffyProdigy requested a review from a team July 26, 2022 19:47
def external_accounts(session):
session.env[ALLOW_PLUGGABLE_ENV] = "1"
session.install(
*TEST_DEPENDENCIES_SYNC,
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Does this need to change as well?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Yes, without this environment variable set, pluggable auth tests will fail

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Sorry, I meant the test dependencies, only *TEST_DEPENDENCIES_SYNC was being used and I assumed they would need to be updated to *TEST_DEPENDENCIES_ASYNC to reflect the nox session change

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Ah, gotcha. I updated the nox session to use SYNC instead, because I believe Chuan updated the code to work with 2.7

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Seems like it failed with 2.7 :(

I don't have the context for this so I'm okay with moving it back to how you had it

@clundin25
Copy link
Copy Markdown
Contributor

clundin25 commented Jul 28, 2022

You'll need a fresh token for the Kokoro system tests. I pushed one here that you can pull in

@clundin25 clundin25 added the kokoro:run Add this label to force Kokoro to re-run the tests. label Jul 28, 2022
@yoshi-kokoro yoshi-kokoro removed the kokoro:run Add this label to force Kokoro to re-run the tests. label Jul 28, 2022
@clundin25 clundin25 added the kokoro:run Add this label to force Kokoro to re-run the tests. label Jul 28, 2022
@yoshi-kokoro yoshi-kokoro removed the kokoro:run Add this label to force Kokoro to re-run the tests. label Jul 28, 2022
@clundin25 clundin25 added the kokoro:run Add this label to force Kokoro to re-run the tests. label Jul 28, 2022
@yoshi-kokoro yoshi-kokoro removed the kokoro:run Add this label to force Kokoro to re-run the tests. label Jul 28, 2022
@clundin25 clundin25 added the kokoro:run Add this label to force Kokoro to re-run the tests. label Aug 1, 2022
@yoshi-kokoro yoshi-kokoro removed the kokoro:run Add this label to force Kokoro to re-run the tests. label Aug 1, 2022
@clundin25 clundin25 added the kokoro:run Add this label to force Kokoro to re-run the tests. label Aug 1, 2022
@yoshi-kokoro yoshi-kokoro removed the kokoro:run Add this label to force Kokoro to re-run the tests. label Aug 1, 2022
@clundin25 clundin25 added the owlbot:run Add this label to trigger the Owlbot post processor. label Aug 1, 2022
@gcf-owl-bot gcf-owl-bot bot removed the owlbot:run Add this label to trigger the Owlbot post processor. label Aug 1, 2022
@clundin25 clundin25 merged commit f8d776a into googleapis:main Aug 1, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants