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

Qesap e2e verbosity tests #236

Merged
merged 2 commits into from
May 31, 2024
Merged

Conversation

mpagot
Copy link
Collaborator

@mpagot mpagot commented May 31, 2024

This PR introduce an improvement in e2e test of the glue script. In particular there are many new tests about the output of the qesap.py and for the first time the true execution of the ansible subcommand

Ticket : https://jira.suse.com/browse/TEAM-6844

VR is pipeline in PR

if [ $rc -ne 0 ]; then
test_die "rc:$rc in verbose mode there should be some INFO"
fi
grep -E "TASK \[Say hello\]" "${QESAPROOT}/test_4_ansible_pass_verbose.txt" | wc -l
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

this test is intentionally left uncompleted. The expected value should be 1 but, due to a bug in the glue script that has to be fixed, is now 2

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I'll convert it to a real test in a next PR where I'll also at the same time fix the bug.

scripts/qesap/test/e2e/test.sh Outdated Show resolved Hide resolved
scripts/qesap/test/e2e/test.sh Outdated Show resolved Hide resolved
scripts/qesap/test/e2e/test.sh Outdated Show resolved Hide resolved
scripts/qesap/test/e2e/test.sh Outdated Show resolved Hide resolved
scripts/qesap/test/e2e/test.sh Outdated Show resolved Hide resolved
scripts/qesap/test/e2e/test.sh Outdated Show resolved Hide resolved
scripts/qesap/test/e2e/test.sh Outdated Show resolved Hide resolved
scripts/qesap/test/e2e/test.sh Outdated Show resolved Hide resolved
scripts/qesap/test/e2e/test.sh Outdated Show resolved Hide resolved
scripts/qesap/test/e2e/test.sh Outdated Show resolved Hide resolved
Copy link
Collaborator

@lpalovsky lpalovsky left a comment

Choose a reason for hiding this comment

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

I am giving my 0.7 LGTM which is equal to the level of my competency in this matter :D

@mpagot mpagot force-pushed the qesap_e2e_verbosity_tests branch 3 times, most recently from 57b4666 to f2c10dc Compare May 31, 2024 13:27
@mpagot mpagot force-pushed the qesap_e2e_verbosity_tests branch from f2c10dc to c392cf0 Compare May 31, 2024 14:19
Copy link
Collaborator

@alvarocarvajald alvarocarvajald left a comment

Choose a reason for hiding this comment

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

LGTM

@mpagot mpagot merged commit 57bd87f into SUSE:main May 31, 2024
4 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.

3 participants