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

ipatests: fix test_replica_promotion.py #4926

Closed
wants to merge 2 commits into from

Conversation

flo-renaud
Copy link
Contributor

ipatests: Fix TestReplicaPromotionLevel1

A new test was added to TestReplicaPromotionLevel1 but was run
after the replica uninstallation. As the new test checks
the content of /etc/sssd/sssd.conf on the replica, merge it with the
previous test, when the replica is still installed.

Fixes: https://pagure.io/freeipa/issue/8414

ipatests: fix TestUnprivilegedUserPermissions

A new test has been added to TestUnprivilegedUserPermissions that
duplicates the steps done in the precedent test. As the tests
are usually run sequentially, no need to duplicate.

Fixes: https://pagure.io/freeipa/issue/8413

@flo-renaud flo-renaud added the ipa-4-8 Mark for backport to ipa 4.8 label Jul 16, 2020
@flo-renaud
Copy link
Contributor Author

Adding ipa-4-8 label as the failing tests were also backported to this branch with PR #4917

@flo-renaud
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@flo-renaud flo-renaud added the needs review Pull Request is waiting for a review label Jul 17, 2020
@flo-renaud flo-renaud requested a review from rcritten July 17, 2020 09:45
@mrizwan93
Copy link
Contributor

LGTM

@rcritten
Copy link
Contributor

LGTM as well. Please remove the temp commit.

@jsf9k
Copy link
Contributor

jsf9k commented Jul 17, 2020

Apologies for inadvertently introducing these testing bugs in my PR, and a big thank you to @flo-renaud for fixing it.

@rcritten
Copy link
Contributor

@jsf9k it's more my fault for not catching it in the first place.

@flo-renaud reminder to remove the temp commit.

A new test has been added to TestUnprivilegedUserPermissions that
duplicates the steps done in the precedent test. As the tests
are usually run sequentially, no need to duplicate.

Fixes: https://pagure.io/freeipa/issue/8413
A new test was added to TestReplicaPromotionLevel1 but was run
after the replica uninstallation. As the new test checks
the content of /etc/sssd/sssd.conf on the replica, merge it with the
previous test, when the replica is still installed.

Fixes: https://pagure.io/freeipa/issue/8414
@flo-renaud
Copy link
Contributor Author

Rebased to master and removed the temp commit.

@flo-renaud flo-renaud added the re-run Trigger a new run of PR-CI label Jul 26, 2020
@freeipa-pr-ci freeipa-pr-ci removed the re-run Trigger a new run of PR-CI label Jul 26, 2020
@mrizwan93 mrizwan93 added ack Pull Request approved, can be merged and removed needs review Pull Request is waiting for a review labels Jul 27, 2020
@rcritten
Copy link
Contributor

master:

  • 1fc1947 ipatests: fix TestUnprivilegedUserPermissions
  • 062e18c ipatests: Fix TestReplicaPromotionLevel1

@rcritten rcritten added the pushed Pull Request has already been pushed label Jul 27, 2020
@rcritten rcritten closed this Jul 27, 2020
@flo-renaud flo-renaud deleted the t8414 branch July 28, 2020 06:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ack Pull Request approved, can be merged ipa-4-8 Mark for backport to ipa 4.8 pushed Pull Request has already been pushed
Projects
None yet
5 participants