_acs-tcl__ad_job (private)
_acs-tcl__ad_job
Defined in packages/acs-tcl/tcl/test/utilities-procs.tcl
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: set _aa_export {} set body_count 1 foreach testcase_body {{ set queue __test_acs_tcl_ad_job set result [ad_job -queue $queue expr {1 + 1}] aa_equals "Result is 2" $result 2 aa_true "Error when timeout is reached" [catch { ad_job -queue $queue -timeout 0.1 after 200 }] aa_true "Queue exists after calling the proc" { $queue in [ns_job queues] } }} { aa_log "Running testcase body $body_count" set ::__aa_test_indent [info level] set catch_val [catch $testcase_body msg] if {$catch_val != 0 && $catch_val != 2} { aa_log_result "fail" "ad_job (body $body_count): Error during execution: $msg, stack trace: \n$::errorInfo" } incr body_count }XQL Not present: Generic, PostgreSQL, Oracle