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

[Request] Optimize the time taken to complete E2E tests #85

Open
seansica opened this issue Aug 23, 2022 · 0 comments
Open

[Request] Optimize the time taken to complete E2E tests #85

seansica opened this issue Aug 23, 2022 · 0 comments

Comments

@seansica
Copy link
Contributor

seansica commented Aug 23, 2022

Is your feature request related to a problem?

The tests take anywhere from 3-8 hours to complete.

Describe the solution you'd like

Reduce the amount of HTTP queries that the test modules send to the TAXII server. Theoretically, the TAXII server only needs to be queried by one of the tests (once) to validate that this argparser option works as intended.

Describe alternatives you've considered

If duplicate objects need to be retrieved multiple times, consider caching responses locally and/or retrieving the target STIX objects from the mitre/cti JSON source files.

Additional context

pyinstrument was used to validate that approx. 15% (3880s) of the total pytest runtime duration (24800s) of the tests were consumed by TAXII queries.

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

No branches or pull requests

1 participant