Remove noise from prove t/Auth_with_shibboleth.t
Created attachment 38752 [details] [review] Bug 14111: Silence warnings in t/Auth_with_shibboleth.t Poorly capturing warnings_exist test cases generated noise. This patch fixes that. TEST PLAN --------- 1) $ prove t/Auth_with_shibboleth.t -- There are messages about lines 132 and 133. Noise. 2) Apply patch 3) $ prove t/Auth_with_shibboleth.t -- No messages. YAY! 4) koha qa test tools
Created attachment 38832 [details] [review] Bug 14111 - More t/Auth_with_shibboleth.t silencing TEST PLAN --------- 1) Apply first patch 2) prove t/Auth_with_shibboleth.t -- failed?! 3) apply this patch 4) prove t/Auth_with_shibboleth.t -- success. *whew* 5) koha-qa test tools.
Thanks Mark, will take a quick test but looks good from a quick read.
Created attachment 39227 [details] [review] Bug 14111: Silence warnings in t/Auth_with_shibboleth.t Poorly capturing warnings_exist test cases generated noise. This patch fixes that. TEST PLAN --------- 1) $ prove t/Auth_with_shibboleth.t -- There are messages about lines 132 and 133. Noise. 2) Apply patch 3) $ prove t/Auth_with_shibboleth.t -- No messages. YAY! 4) koha qa test tools Signed-off-by: Indranil Das Gupta (L2C2 Technologies) <indradg@gmail.com> Test remarks: Expected outcome as per test plan. No anomaly noted.
A problem here... git bz apply 14111 Bug 14111 - Silence warnings t/Auth_with_shibboleth.t 38832 - Bug 14111 - More t/Auth_with_shibboleth.t silencing 39227 - Bug 14111: Silence warnings in t/Auth_with_shibboleth.t Apply? [(y)es, (n)o, (i)nteractive] y Applying: Bug 14111 - More t/Auth_with_shibboleth.t silencing fatal: sha1 information is lacking or useless (t/Auth_with_shibboleth.t). Repository lacks necessary blobs to fall back on 3-way merge. Cannot fall back to three-way merge.
(In reply to Bernardo Gonzalez Kriegel from comment #5) > A problem here... > > git bz apply 14111 > Bug 14111 - Silence warnings t/Auth_with_shibboleth.t > > 38832 - Bug 14111 - More t/Auth_with_shibboleth.t silencing > 39227 - Bug 14111: Silence warnings in t/Auth_with_shibboleth.t > > Apply? [(y)es, (n)o, (i)nteractive] y > Applying: Bug 14111 - More t/Auth_with_shibboleth.t silencing > fatal: sha1 information is lacking or useless (t/Auth_with_shibboleth.t). > Repository lacks necessary blobs to fall back on 3-way merge. > Cannot fall back to three-way merge. Bernardo: I believe I goofed up there! :-( that mess is quite likely my creation. I'm trying to git-revert. But no success so far.
Created attachment 39231 [details] [review] Bug 14111: Silence warnings in t/Auth_with_shibboleth.t Poorly capturing warnings_exist test cases generated noise. This patch fixes that. TEST PLAN --------- 1) $ prove t/Auth_with_shibboleth.t -- There are messages about lines 132 and 133. Noise. 2) Apply patch 3) $ prove t/Auth_with_shibboleth.t -- No messages. YAY! 4) koha qa test tools Signed-off-by: Indranil Das Gupta <indradg@gmail.com> Test remarks: Expected outcome as per test plan. No anomaly noted.
Created attachment 39232 [details] [review] Bug 14111 - More t/Auth_with_shibboleth.t silencing TEST PLAN --------- 1) Apply first patch 2) prove t/Auth_with_shibboleth.t -- failed?! 3) apply this patch 4) prove t/Auth_with_shibboleth.t -- success. *whew* 5) koha-qa test tools.
Okay... Here's the deal. Test the first patch with or without 5010. No issues. It will silence problems. Apply just 5010, and you will see problems. Apply the second patch on top of 5010 and those problems are solved. However, it is still noisy. Apply the first and test it, noise disappears.
Created attachment 39234 [details] [review] Bug 14111: Silence warnings in t/Auth_with_shibboleth.t Poorly capturing warnings_exist test cases generated noise. This patch fixes that. TEST PLAN --------- 1) $ prove t/Auth_with_shibboleth.t -- There are messages about lines 132 and 133. Noise. 2) Apply patch 3) $ prove t/Auth_with_shibboleth.t -- No messages. YAY! 4) koha qa test tools Signed-off-by: Indranil Das Gupta (L2C2 Technologies) <indradg@gmail.com> Test remarks: Expected outcome as per test plan. No anomaly noted.
Created attachment 39235 [details] [review] Bug 14111 - More t/Auth_with_shibboleth.t silencing TEST PLAN --------- 1) Apply first patch 2) prove t/Auth_with_shibboleth.t -- failed?! 3) apply this patch 4) prove t/Auth_with_shibboleth.t -- success. *whew* 5) koha-qa test tools. Signed-off-by: Indranil Das Gupta (L2C2 Technologies) <indradg@gmail.com> Test remarks: Expected outcome as per test plan. No anomaly noted.
Applying: Bug 14111: Silence warnings in t/Auth_with_shibboleth.t Applying: Bug 14111 - More t/Auth_with_shibboleth.t silencing fatal: sha1 information is lacking or useless (t/Auth_with_shibboleth.t). Repository lacks necessary blobs to fall back on 3-way merge. Cannot fall back to three-way merge.
(In reply to Jonathan Druart from comment #12) > Applying: Bug 14111: Silence warnings in t/Auth_with_shibboleth.t > Applying: Bug 14111 - More t/Auth_with_shibboleth.t silencing > fatal: sha1 information is lacking or useless (t/Auth_with_shibboleth.t). > Repository lacks necessary blobs to fall back on 3-way merge. > Cannot fall back to three-way merge. TEST PLAN ---------- 1) prove t/Auth_with_shibboleth.t -- noise 2) git bz apply 14111 -- interactive first patch only! 3) prove t/Auth_with_shibboleth.t -- no noise 4) git reset --hard origin/master 5) git bz apply 5010 6) prove t/Auth_with_shibboleth.t -- Noise again 7) git bz apply 14111 -- interactive second patch 8) prove t/Auth_with_shibboleth.t -- no noise again
(In reply to Jonathan Druart from comment #12) > Applying: Bug 14111: Silence warnings in t/Auth_with_shibboleth.t > Applying: Bug 14111 - More t/Auth_with_shibboleth.t silencing > fatal: sha1 information is lacking or useless (t/Auth_with_shibboleth.t). > Repository lacks necessary blobs to fall back on 3-way merge. > Cannot fall back to three-way merge. See comment #9 and comment #13. I have revised the dependencies again. It's easier to SAY the dependencies than label them.
(In reply to M. Tompsett from comment #13) > 7) git bz apply 14111 Oops... both, not just second.
Created attachment 39696 [details] [review] [PASSED QA] Bug 14111: Silence warnings in t/Auth_with_shibboleth.t Poorly capturing warnings_exist test cases generated noise. This patch fixes that. TEST PLAN --------- 1) $ prove t/Auth_with_shibboleth.t -- There are messages about lines 132 and 133. Noise. 2) Apply patch 3) $ prove t/Auth_with_shibboleth.t -- No messages. YAY! 4) koha qa test tools Signed-off-by: Indranil Das Gupta (L2C2 Technologies) <indradg@gmail.com> Test remarks: Expected outcome as per test plan. No anomaly noted. Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Created attachment 39697 [details] [review] [PASSED QA] Bug 14111 - More t/Auth_with_shibboleth.t silencing TEST PLAN --------- 1) Apply first patch 2) prove t/Auth_with_shibboleth.t -- failed?! 3) apply this patch 4) prove t/Auth_with_shibboleth.t -- success. *whew* 5) koha-qa test tools. Signed-off-by: Indranil Das Gupta (L2C2 Technologies) <indradg@gmail.com> Test remarks: Expected outcome as per test plan. No anomaly noted. Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Patches pushed to master. Thanks Mark!