[open-ils-commits] [GIT] Evergreen ILS branch rel_2_7 updated. f229b7e3dc1063decfe0f1a91509eba5d66f39ce

Evergreen Git git at git.evergreen-ils.org
Tue Jun 16 12:43:18 EDT 2015


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".

The branch, rel_2_7 has been updated
       via  f229b7e3dc1063decfe0f1a91509eba5d66f39ce (commit)
      from  880c4f4a73caed2a20772ffcb83cb1e2ba9545fa (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit f229b7e3dc1063decfe0f1a91509eba5d66f39ce
Author: Jason Etheridge <jason at esilibrary.com>
Date:   Tue Jun 16 12:30:38 2015 -0400

    fix live_t/08-lp1366964-libdbi-error.t
    
    from this:
    
    opensrf at dev141:~/git/Evergreen/Open-ILS/src/perlmods/live_t (lp902255test)$ prove 08-lp1366964-libdbi-error.t
    08-lp1366964-libdbi-error.t .. # Tests libdbi transaction error reporting
    08-lp1366964-libdbi-error.t .. 1/2
     #   Failed test 'CStoreEditor returns standard query error'
     #   at 08-lp1366964-libdbi-error.t line 31.
     #          got: 'DATABASE_UPDATE_FAILED'
     #     expected: 'DATABASE_QUERY_FAILED'
     # Looks like you failed 1 test of 2.
    08-lp1366964-libdbi-error.t .. Dubious, test returned 1 (wstat 256, 0x100)
    Failed 1/2 subtests
    
    Test Summary Report
    -------------------
    08-lp1366964-libdbi-error.t (Wstat: 256 Tests: 2 Failed: 1)
      Failed test:  2
      Non-zero exit status: 1
    Files=1, Tests=2,  1 wallclock secs ( 0.02 usr  0.01 sys +  0.82 cusr  0.11 csys =  0.96 CPU)
    Result: FAIL
    
    to this:
    
    opensrf at dev141:~/git/Evergreen/Open-ILS/src/perlmods/live_t (lp902255test)$ prove 08-lp1366964-libdbi-error.t
    08-lp1366964-libdbi-error.t .. # Tests libdbi transaction error reporting
    08-lp1366964-libdbi-error.t .. ok
    All tests successful.
    Files=1, Tests=2,  2 wallclock secs ( 0.02 usr  0.02 sys +  0.85 cusr  0.08 csys =  0.97 CPU)
    Result: PASS
    
    Signed-off-by: Jason Etheridge <jason at esilibrary.com>
    Signed-off-by: Mike Rylander <mrylander at gmail.com>

diff --git a/Open-ILS/src/perlmods/live_t/08-lp1366964-libdbi-error.t b/Open-ILS/src/perlmods/live_t/08-lp1366964-libdbi-error.t
index 3164a6c..f69091b 100644
--- a/Open-ILS/src/perlmods/live_t/08-lp1366964-libdbi-error.t
+++ b/Open-ILS/src/perlmods/live_t/08-lp1366964-libdbi-error.t
@@ -26,11 +26,11 @@ my $evt = $e->die_event; # this part takes the longest
 my $duration = time - $start;
 
 cmp_ok($duration, '<', '10', 
-    'Confirm cstore reports standard query error in a timely fashion');
+    'Confirm cstore reports standard update query error in a timely fashion');
 
 if ($evt) {
-    is($evt->{textcode}, 'DATABASE_QUERY_FAILED',
-        'CStoreEditor returns standard query error');
+    is($evt->{textcode}, 'DATABASE_UPDATE_FAILED',
+        'CStoreEditor returns standard update query error');
 } else {
     fail('CStoreEditor returned no event');
 }

-----------------------------------------------------------------------

Summary of changes:
 .../perlmods/live_t/08-lp1366964-libdbi-error.t    |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list