source: vendor/current/ctdb/tests/tool/stubby.reloadnodes.019.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: 593 bytes
Line 
1#!/bin/sh
2
3. "${TEST_SCRIPTS_DIR}/unit.sh"
4
5define_test "3 nodes, delete middle, add 2 nodes"
6
7setup_nodes <<EOF
8192.168.20.41
9#192.168.20.42
10192.168.20.43
11192.168.20.44
12192.168.20.45
13EOF
14
15required_result 0 <<EOF
16Node 0 is unchanged
17Node 1 is DELETED
18Node 2 is unchanged
19Node 3 is NEW
20Node 4 is NEW
21Reloading nodes file on node 0
22Reloading nodes file on node 2
23ctdb_ctrl_reload_nodes_file: node 0
24ctdb_ctrl_reload_nodes_file: node 2
25EOF
26
27simple_test <<EOF
28NODEMAP
290 192.168.20.41 0x0 CURRENT RECMASTER
301 192.168.20.42 0x1
312 192.168.20.43 0x0
32
33VNNMAP
34654321
350
362
37EOF
Note: See TracBrowser for help on using the repository browser.