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

test: set LW_API_TOKEN for integration tests #1577

Merged
merged 2 commits into from
Mar 5, 2024

Conversation

PengyuanZhao
Copy link
Contributor

@PengyuanZhao PengyuanZhao commented Mar 4, 2024

Summary

When running integration tests, set the LW_API_TOKEN env to avoid abusing the /access_token endpoint which has a rate limit.

How did you test this change?

Run tests with logs. Verify that the token is reused.

Issue

https://lacework.atlassian.net/browse/GROW-2770

@PengyuanZhao PengyuanZhao marked this pull request as ready for review March 4, 2024 21:02
@PengyuanZhao PengyuanZhao requested a review from a team as a code owner March 4, 2024 21:02
@PengyuanZhao PengyuanZhao merged commit 4d0353f into main Mar 5, 2024
11 checks passed
@PengyuanZhao PengyuanZhao deleted the pengyuan/GROW-2770-access-token branch March 5, 2024 15:45
This was referenced Mar 5, 2024
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