[Main Page]

Running pgTAP live tests

_.-~= Running pgTAP live tests
Thu Apr 25 16:49:27 EDT 2019
Open-ILS/src/sql/Pg/live_t/0824.item_import_defaults.pg ...................... 
1..1
ok 1 - Should have a row with a NULL barcode and call number, auto-circ mod of BOOK
ok
Open-ILS/src/sql/Pg/live_t/0847.auth_overlay_generator.pg .................... 
1..1
ok 1 - authority.generate_overlay_template includes indicators and excludes junk tags
ok
Open-ILS/src/sql/Pg/live_t/0852.prox_adjust.pg ............................... 
1..7
ok 1 - Data suitable for test: hold #3 has pickup_lib 5
ok 2 - Data suitable for test: hold #4 has pickup_lib 9
ok 3 - Data suitable for test: copy #2884 has circ_lib 4
ok 4 - Data suitable for test: ou #5 has parent_ou 2 and depth 2
ok 5 - Data suitable for test: ou #9 doesn't have parent_ou 2, does have depth at least 2
ok 6 - Org unit proximity adjustment takes effect when it should
ok 7 - (regression test) Org unit proximity adjustment doesn't take effect when it shouldn't
ok
Open-ILS/src/sql/Pg/live_t/0959.schema.correct_mtbs_view.pg .................. 
1..2
ok 1 - mtbs has correct last billing type
ok 2 - mtbs has correct last billing note
ok
Open-ILS/src/sql/Pg/live_t/aous_batch.pg ..................................... 
1..3
ok 1 - can retrieve batch of org unit settings
ok 2 - can retrieve batch of org unit settings at lower level
ok 3 - can retrieve batch of org unit settings with fallback
ok
Open-ILS/src/sql/Pg/live_t/copy_state.pg ..................................... 
1..1
ok 1 - asset.copy_state detects missing state
ok
Open-ILS/src/sql/Pg/live_t/lp1145213_test_func_asset.merge_record_assets.pg .. 
1..5
ok 1 - Record assets merged!
ok 2 - LP 1145213 asset.merge_record_assets() messing up call numbers. copy 4 should have acn -> 999999
ok 3 - LP 1145213 asset.merge_record_assets() should have deleted acn #1000002
ok 4 - LP 1145213 asset.merge_record_assets() all call_numbers should point to bib record #60,000 
ok 5 - LP 1145213 asset.merge_record_assets() all copies should point to acn #999999 which is for bib record #60,000 
ok
Open-ILS/src/sql/Pg/live_t/lp1277731_hold_permit_test.pg ..................... 
1..1
ok 1 - verify action.hold_request_permit_test()
ok
Open-ILS/src/sql/Pg/live_t/lp1464709-copy-stat-co-ok.live.pg ................. 
1..3
ok 1 - Checkout test Available succeeds
ok 2 - Checkout test is_available=false fails
ok 3 - Checkout test is_available=true succeeds
ok
Open-ILS/src/sql/Pg/live_t/lp1468422_passwd_storage.pg ....................... 
1..6
ok 1 - Legacy password should match
ok 2 - get_salt() returns a new salt
ok 3 - get_salt() should migrate the password
ok 4 - verify_passwd should verify migrated password
ok 5 - verify_passwd should fail with wrong password
ok 6 - verify_passwd should verify new password
ok
Open-ILS/src/sql/Pg/live_t/lp1787274-no-dupe-transits.pg ..................... 
1..6
ok 1 - First transit inserts OK
ok 2 - Confirm a single transit exists
ok 3 - threw an exception
ok 4 - threw an exception
ok 5 - threw an exception
ok 6 - Confirm a single transit exists
ok
Open-ILS/src/sql/Pg/live_t/purge-at-events.pg ................................ 
1..8
ok 1 - No Max Delay Test
ok 2 - Short Interval Update Test
ok 3 - Long Interval Update Test
ok 4 - Active hooks allow any interval
ok 5 - Expired Template Output Purged
ok 6 - Non-Expired Template Output Retained
ok 7 - Expired Event Purged
ok 8 - Non-Expired Event Retained
ok
Open-ILS/src/sql/Pg/live_t/purge-user-activity.pg ............................ 
1..6
ok 1 - Confirm only one event row exists
ok 2 - Confirm most recent event is retained
ok 3 - Confirm only one event row exists
ok 4 - Confirm most recent event is retained
ok 5 - Confirm only one event row exists
ok 6 - Confirm most recent event is retained
ok
Open-ILS/src/sql/Pg/live_t/spt-visibility.pg ................................. 
1..6
ok 1 - BR1 can see its own pattern at consortial sharing depth
ok 2 - BR4 can see it as well at consortial sharing depth
ok 3 - SL1 can see it as well at consortial sharing depth
ok 4 - BR1 can still see own pattern at branch sharing depth
ok 5 - BR4 CANNOT see it at branch sharing depth
ok 6 - SL1 can still see it at branch sharing depth
ok
Open-ILS/src/sql/Pg/live_t/user-circ-history.pg .............................. 
1..5
ok 1 - Confirm a history row was inserted
ok 2 - Confirm checkin_time is NULL
ok 3 - Confirm due_date matches renewal due date
ok 4 - Confirm checkin_time is set
ok 5 - Confirm no history is created
ok
All tests successful.
Files=15, Tests=61,  9 wallclock secs ( 0.06 usr  0.12 sys +  1.00 cusr  0.50 csys =  1.68 CPU)
Result: PASS
Return Value = 0
End of pgTAP live tests =~-._