Skip to content

make sure to not execute to many request for appsec integration specs #2843

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

Conversation

GustavoCaso
Copy link
Member

What does this PR do?

Improve CI time for appsec integration specs.

We have divided all specs into single specs. The way tests were organized meant that for every assertion, we were making a new request to the test app. By groping the specs into a bigger block we can improve CI time.

For future we can extract those shared examples into a separate file

Motivation

Additional Notes

How to test the change?

@GustavoCaso GustavoCaso requested a review from a team May 12, 2023 18:56
@github-actions github-actions bot added the dev/testing Involves testing processes (e.g. RSpec) label May 12, 2023
@GustavoCaso GustavoCaso force-pushed the fix-appsec-integration-test-time branch from 20e79e0 to e1ac34d Compare May 12, 2023 18:57
@GustavoCaso GustavoCaso merged commit 03fe9ac into fix-ruby-docker-images-2.3-2.4-for-integration May 12, 2023
@GustavoCaso GustavoCaso deleted the fix-appsec-integration-test-time branch May 12, 2023 19:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dev/testing Involves testing processes (e.g. RSpec)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants