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

design: tech debt: e2e tests refactoring #1525

Open
tzaffi opened this issue May 13, 2023 · 2 comments
Open

design: tech debt: e2e tests refactoring #1525

tzaffi opened this issue May 13, 2023 · 2 comments
Labels
Team Lamprey tech debt Things that need re-work for simplification / sanitization to reduce implementation overhead

Comments

@tzaffi
Copy link
Contributor

tzaffi commented May 13, 2023

Problem

The end to end tests are an important sanity check ensuring that the latest version of indexer is production-ready.

However, they suffer from a few issues that make them difficult to work with and identify/fix problems when they occur:

  • weave together disparate components:
    • AWS tarballs to define a network to test against
    • docker containers for test environmenting
    • python library to execute processes and validate results

These components have become bloated:

As a result:

  • adding new tests to precisely validate new features becomes tedious and basically isn't done
  • diagnosing and fixing a break can take hours/days instead of minutes for the uninitiated

Solution

Produce a design doc that proposes a way to refactor the end to end tests so as to fix these issues.

Dependencies

None

Urgency

Medium

@tzaffi tzaffi added new-feature-request Feature request that needs triage Team Lamprey tech debt Things that need re-work for simplification / sanitization to reduce implementation overhead and removed new-feature-request Feature request that needs triage labels May 13, 2023
@winder
Copy link
Contributor

winder commented May 19, 2023

Maybe these old tests can be deprecated in favor of the new e2e scripts used for conduit: https://github.com/algorand/conduit/tree/master/e2e_tests

@tzaffi
Copy link
Contributor Author

tzaffi commented May 19, 2023

Maybe these old tests can be deprecated in favor of the new e2e scripts used for conduit: https://github.com/algorand/conduit/tree/master/e2e_tests

They seem to share some python functions, but I agree that we should look to see if we can consolidate the python if possible.

@algoanne algoanne changed the title tech debt: e2e tests refactoring design: tech debt: e2e tests refactoring Jun 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Team Lamprey tech debt Things that need re-work for simplification / sanitization to reduce implementation overhead
Projects
None yet
Development

No branches or pull requests

2 participants