Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Internal] Add unit tests for iam users/groups/spns lists and remove them from integration test #837

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

tanmay-db
Copy link
Contributor

@tanmay-db tanmay-db commented Dec 12, 2024

What changes are proposed in this pull request?

The iam list integration tests just make the list calls for users/groups/spns and compare it with make the call through SDK. This is not ideal because the number of users / groups / spns can change since test run in parallel across multiple SDKs, PR leading to this test being flaky and blocking PRs to merge (need to run the test again and again for it to pass since it's flaky).

We should still test the pathway so it's covered with unit tests.

How is this tested?

Unit tests

@tanmay-db tanmay-db changed the title [Internal] Remove iam lists integration tests and add unit tests [Internal] Add unit tests for iam users/groups/spns lists and remove them from integration test Dec 12, 2024
Copy link

If integration tests don't run automatically, an authorized user can run them manually by following the instructions below:

Trigger:
go/deco-tests-run/sdk-py

Inputs:

  • PR number: 837
  • Commit SHA: f61c48ebd79b93f0533f05e88bcd751612ddc3a6

Checks will be approved automatically on success.

@eng-dev-ecosystem-bot
Copy link
Collaborator

Test Details: go/deco-tests/12297821534

@tanmay-db tanmay-db requested review from rauchy and mgyucht December 12, 2024 13:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants