mariadb/bdb/test/test091.tcl

21 lines
618 B
Tcl
Raw Normal View History

2001-03-04 19:42:05 -05:00
# See the file LICENSE for redistribution information.
#
2002-10-30 15:57:05 +04:00
# Copyright (c) 2000-2002
2001-03-04 19:42:05 -05:00
# Sleepycat Software. All rights reserved.
#
2002-10-30 15:57:05 +04:00
# $Id: test091.tcl,v 11.7 2002/01/11 15:53:56 bostic Exp $
2001-03-04 19:42:05 -05:00
#
2002-10-30 15:57:05 +04:00
# TEST test091
# TEST Test of DB_CONSUME_WAIT.
2001-03-04 19:42:05 -05:00
proc test091 { method {nconsumers 4} \
{nproducers 2} {nitems 1000} {start 0 } {tnum "91"} 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
}