summaryrefslogtreecommitdiff
path: root/tests/cluster/tests/includes/init-tests.tcl
blob: e3d5471d334b7609918e0f678057b172a219ccaf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# Initialization tests -- most units will start including this.

test "(init) Restart killed instances" {
    foreach type {redis} {
        foreach_${type}_id id {
            if {[get_instance_attrib $type $id pid] == -1} {
                puts -nonewline "$type/$id "
                flush stdout
                restart_instance $type $id
            }
        }
    }
}