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

Update some s3 tests to use dynamic env #680

Merged
merged 4 commits into from
Dec 22, 2023

Conversation

evgeniiz321
Copy link
Contributor

This is an example of how we can move tests to use dynamic environment instead of a static dev-env. In parallel we can refactor existing non optimal/legacy code.

  1. Separate directory for new tests and library code - dynamic_env_pytest_tests
  2. In the meantime we reuse some existing code located in pytest_tests/* robot/*
  3. During tests moving to a new dynamic env - we refactor existing legacy code and move it to dynamic_env_pytest_tests/lib as well.
  4. For new tests at dynamic_env_pytest_tests we create a separate validation inside this repo

Copy link
Collaborator

@vvarg229 vvarg229 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it's better to separate into different commits the CI file, the "library" for the dynamic_env_pytest_tests and new tests.

robot/resources/files/container_policy.json Outdated Show resolved Hide resolved
requirements.txt Show resolved Hide resolved
pyproject.toml Show resolved Hide resolved
.github/workflows/run-tests.yml Outdated Show resolved Hide resolved
.github/workflows/run-tests.yml Outdated Show resolved Hide resolved
.github/workflows/run-tests.yml Outdated Show resolved Hide resolved
.github/workflows/run-tests.yml Outdated Show resolved Hide resolved
Evgeniy Zayats added 3 commits December 20, 2023 20:36
Tenacity dependency is also updated due to new version used by
new neofs-testlib version.

Signed-off-by: Evgeniy Zayats <[email protected]>
@evgeniiz321
Copy link
Contributor Author

commits were separated

@evgeniiz321 evgeniiz321 merged commit ecc3130 into nspcc-dev:master Dec 22, 2023
2 checks passed
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