~ubuntu-branches/ubuntu/saucy/db/saucy-proposed

« back to all changes in this revision

Viewing changes to test/repmgr010.tcl

  • Committer: Bazaar Package Importer
  • Author(s): Colin Watson
  • Date: 2010-10-25 22:16:35 UTC
  • mfrom: (13.1.11 sid)
  • Revision ID: james.westby@ubuntu.com-20101025221635-k0o38lxdx9kle3mh
Tags: 5.0.26-3ubuntu1
* Resynchronise with Debian.  Remaining changes:
  - Pass --build/--host to configure to support cross-building, and don't
    override CC.
  - Disable the Java build when cross-building, for now.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
# See the file LICENSE for redistribution information.
2
2
#
3
 
# Copyright (c) 2007-2009 Oracle.  All rights reserved.
 
3
# Copyright (c) 2007, 2010 Oracle and/or its affiliates.  All rights reserved.
4
4
#
5
5
# $Id$
6
6
#
13
13
# TEST
14
14
# TEST  Run for btree only because access method shouldn't matter.
15
15
# TEST
16
 
proc repmgr010 { method { niter 100 } { tnum "010" } args } {
 
16
proc repmgr010 { { niter 100 } { tnum "010" } args } {
17
17
 
18
18
        source ./include.tcl
19
19
 
22
22
                return
23
23
        }
24
24
 
25
 
        if { $is_windows9x_test == 1 } {
26
 
                puts "Skipping replication test on Win9x platform."
27
 
                return
28
 
        }
29
 
 
30
 
        # Skip for all methods except btree.
31
 
        if { $checking_valid_methods } {
32
 
                return btree
33
 
        }
34
 
        if { [is_btree $method] == 0 } {
35
 
                puts "Repmgr$tnum: skipping for non-btree method $method."
36
 
                return
37
 
        }
38
 
 
 
25
        set method "btree"
39
26
        set args [convert_args $method $args]
40
27
 
41
28
        puts "Repmgr$tnum ($method): repmgr ack policy and timeout test."