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

Refactor Python Integration Test Script #3331

Merged

Conversation

alyssa-sm
Copy link
Contributor

@alyssa-sm alyssa-sm commented Dec 2, 2024

This PR restructures the python integration test script into classes:

  • SSHManager
  • Deployment
  • Test
  • SlurmTest
  • Specific Slurm Tests

Separating into explicitly defined objects makes it easier to understand and implement new tests.

To run a test, you would need to call the python script for it in python_integration_tests with the blueprint(s) used to test.

For example: python3 tools/python_integration_tests/topology.py topology-test.yaml

@alyssa-sm alyssa-sm added the release-chore To not include into release notes label Dec 2, 2024
@alyssa-sm alyssa-sm self-assigned this Dec 2, 2024
@alyssa-sm alyssa-sm marked this pull request as ready for review December 2, 2024 19:44
@alyssa-sm alyssa-sm requested a review from mr0re1 December 2, 2024 19:52
@alyssa-sm alyssa-sm assigned mr0re1 and unassigned alyssa-sm Dec 2, 2024
@mr0re1 mr0re1 assigned alyssa-sm and unassigned mr0re1 Dec 3, 2024
@alyssa-sm alyssa-sm force-pushed the refactor-python-test branch from 9bd26dd to 71da978 Compare December 3, 2024 08:42
@alyssa-sm alyssa-sm requested a review from mr0re1 December 3, 2024 08:49
@alyssa-sm alyssa-sm assigned mr0re1 and unassigned alyssa-sm Dec 3, 2024
@mr0re1 mr0re1 assigned alyssa-sm and unassigned mr0re1 Dec 3, 2024
@alyssa-sm alyssa-sm merged commit 6eb555a into GoogleCloudPlatform:develop Dec 3, 2024
8 of 57 checks passed
@alyssa-sm alyssa-sm deleted the refactor-python-test branch December 3, 2024 18:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-chore To not include into release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants