-
Notifications
You must be signed in to change notification settings - Fork 37
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
Add component tests for collection #41
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
WStechura
force-pushed
the
add-intergration-tests-for-collection
branch
2 times, most recently
from
July 26, 2024 11:12
912bfe5
to
f6fb43e
Compare
Make sure the pylint, ansible-lint and shellcheck are passing |
WStechura
commented
Jul 26, 2024
roles/oneagent/tests/integration/scripts/command/unix/unix_command_executor.py
Outdated
Show resolved
Hide resolved
roles/oneagent/tests/integration/scripts/technology/ansible/config.py
Outdated
Show resolved
Hide resolved
roles/oneagent/tests/integration/scripts/tests/test_resilience.py
Outdated
Show resolved
Hide resolved
jakubrak
reviewed
Jul 26, 2024
Tests are failing with
|
Rename |
WStechura
changed the title
Add intergration tests for collection
Add component tests for collection
Jul 30, 2024
hparzych
suggested changes
Aug 9, 2024
roles/oneagent/tests/conmponent/resources/installers/oneagentctl.sh
Outdated
Show resolved
Hide resolved
roles/oneagent/tests/conmponent/resources/installers/oneagentctl.sh
Outdated
Show resolved
Hide resolved
roles/oneagent/tests/conmponent/scripts/util/constants/common_constants.py
Outdated
Show resolved
Hide resolved
roles/oneagent/tests/conmponent/scripts/util/test_data_types.py
Outdated
Show resolved
Hide resolved
hparzych
reviewed
Aug 12, 2024
roles/oneagent/tests/conmponent/scripts/tests/test_installAndConfig.py
Outdated
Show resolved
Hide resolved
WStechura
force-pushed
the
add-intergration-tests-for-collection
branch
9 times, most recently
from
September 13, 2024 06:00
354f93f
to
5d84db8
Compare
jakubrak
reviewed
Oct 17, 2024
roles/oneagent/tests/conmponent/scripts/util/test_data_types.py
Outdated
Show resolved
Hide resolved
jakubrak
force-pushed
the
add-intergration-tests-for-collection
branch
from
October 22, 2024 13:12
fef389d
to
69f82dd
Compare
jakubrak
force-pushed
the
add-intergration-tests-for-collection
branch
from
October 22, 2024 13:56
270aca1
to
74a34fd
Compare
WStechura
force-pushed
the
add-intergration-tests-for-collection
branch
2 times, most recently
from
October 29, 2024 11:32
e24224b
to
a8b1516
Compare
karczex
approved these changes
Oct 29, 2024
WStechura
commented
Oct 30, 2024
jakubrak
approved these changes
Oct 31, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Add integration tests, used in previous collection. Most of the changes is just a copy-paste of an old test framework, however some adoption was required.
The rests are being run by
run.py
script withintests/integration
folder. Upon detectionlocalhost
as one of the platforms parametrers, deployment on local machine is performed. Unfortunately, it does not work for Windows platforms as Ansible does work with this platform as main node.The tests uses artifical installer, residing in
tests/integration/installers
directory, which is combined withuninstall.sh
andoneagentctl
scripts to perform seamless deployment.Test directory resides in
tests/integration/tests_dir
which is removed after test is performed