source: vendor/current/ctdb/tests/takeover/lcp2.021.sh

Last change on this file was 988, checked in by Silvan Scherrer, 9 years ago

Samba Server: update vendor to version 4.4.3

File size: 570 bytes
Line 
1#!/bin/sh
2
3. "${TEST_SCRIPTS_DIR}/unit.sh"
4
5define_test "3 nodes, no IPs assigned, 3->2 unhealthy, NoIPHostOnAllDisabled on 2 others"
6
7export CTDB_TEST_LOGLEVEL=0
8
9required_result <<EOF
10192.168.21.254 0
11192.168.21.253 0
12192.168.21.252 0
13192.168.20.254 0
14192.168.20.253 0
15192.168.20.252 0
16192.168.20.251 0
17192.168.20.250 0
18192.168.20.249 0
19EOF
20
21export CTDB_SET_NoIPHostOnAllDisabled=0,1,1
22
23simple_test 2,2,2 <<EOF
24192.168.21.254 2
25192.168.21.253 2
26192.168.21.252 2
27192.168.20.254 2
28192.168.20.253 2
29192.168.20.252 2
30192.168.20.251 2
31192.168.20.250 2
32192.168.20.249 2
33EOF
Note: See TracBrowser for help on using the repository browser.