[Freeipa-devel] [PATCH] First part of the replica promotion tests + testplan

Martin Basti mbasti at redhat.com
Mon Nov 9 16:21:59 UTC 2015



On 09.11.2015 15:09, Oleg Fayans wrote:
> Hi guys,
>
> Here are first two automated testcases from this (so far incomplete) 
> testplan: http://www.freeipa.org/page/V4/Replica_Promotion/Test_plan
>
> Testplan review is highly appreciated
>
>
>
>

Hello,

I did not test patch, I just read the testplan, I have a few comments:

I'm not sure how test plan should look to cover QA needs, so maybe my 
following notes what is missing in test plan are not important.

1)
CA has been affected by replica promotion patches
1a)
test if ipa-ca-install works on replica with domain level 1 (test exists)
1b)
test if ipa-ca-install works on replica with domain level 0 (test exists)
1c)
test if ipa-ca-install works on master with domain level 1 (test exists)
1d)
test if ipa-ca-install works on master with domain level 0 (test exists)
1e)
test if ipa-ca-install with replica file fails with domain level 1 on 
replica
1f)
test if ipa-ca-install fails without replica file with domain level 0 on 
replica
1g)
test if ipa-ca-install works on CA-less master with domain level 0 (I'm 
not sure but probably tests exists)
1h)
test if ipa-ca-install works on CA-less master with domain level 1 (I'm 
not sure but probably tests exists)

2)
KRA has been affected by replica promotion patches
2a)
test if ipa-kra-install works on replica with domain level 1 (test exists)
2b)
test if ipa-kra-install works on replica with domain level 0 (test exists)
2c)
test if ipa-krainstall works on master with domain level 1 (test exists)
2d)
test if ipa-kra-install works on master with domain level 0 (test exists)
2e)
test if ipa-kra-install with replica file fails with domain level 1 on 
replica
2f)
test if ipa-kra-install fails without replica file with domain level 0 
on replica

3) (not sure if this belongs to replica promotion or topology plugin 
testing)
ipa-replica-manage behaves differently with domain level 1
3a)
ipa-replica-manage connect should nto work with domain level 1
3b)
ipa-replica-manage disconnect should not work with domain level 1

4)
ipa-csreplica-manage behaves differently with domain level 1
4a)
ipa-csreplica-manage connect should not work with domain level 1
4b)
ipa-csreplica-manage disconnect should not work with domain level 1
4c)
ipa-csreplica-manage del should not work with domain level 1

5) (this is not related to replica so much, but we miss this test)
5a)
create new replica after master is restored from backup with domain level 1
5b)
create new replica after master is restored from backup with domain level 0

Martin^2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20151109/bc699d02/attachment.htm>


More information about the Freeipa-devel mailing list