cr_item_search::assert_in_queue (private)
cr_item_search::assert_in_queue [ -revision_id revision_id ] \ [ -events events ]
Defined in packages/acs-content-repository/tcl/test/content-search-procs.tcl
We use this test many times. Check if revision_id is in the search observer queue
- Switches:
- -revision_id (optional)
- -events (optional)
- List of events to check for (INSERT,UPDATE,DELETE)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- cr_item_search_triggers
Source code: aa_true "Revision ${revision_id} is queued for search events $events" [db_string check_queue [subst { select count(*) from search_observer_queue where object_id = :revision_id and event in ([ns_dbquotelist $events]) }] -default 0]XQL Not present: Generic, PostgreSQL, Oracle