mirror of
https://github.com/berkeleydb/libdb.git
synced 2024-09-29 03:36:55 +00:00
19 lines
576 B
Tcl
19 lines
576 B
Tcl
# See the file LICENSE for redistribution information.
|
|
#
|
|
# Copyright (c) 2000, 2011 Oracle and/or its affiliates. All rights reserved.
|
|
#
|
|
# $Id$
|
|
#
|
|
# TEST test091
|
|
# TEST Test of DB_CONSUME_WAIT.
|
|
proc test091 { method {nconsumers 4} \
|
|
{nproducers 2} {nitems 1000} {start 0 } {tnum "091"} args} {
|
|
if { [is_queue $method ] == 0 } {
|
|
puts "Skipping test0$tnum for $method."
|
|
return;
|
|
}
|
|
eval {test070 $method \
|
|
$nconsumers $nproducers $nitems WAIT $start -txn $tnum } $args
|
|
eval {test070 $method \
|
|
$nconsumers $nproducers $nitems WAIT $start -cdb $tnum } $args
|
|
}
|