Name tests so they are picked up by runner
This commit is contained in:
1 parent
bf040105da
commit
b4fda4c98e
4 files changed
No files matched your search
Executable
+26
@@ -0,0 +1,26 @@
|
||||
#! /bin/bash
|
||||
|
||||
UNIVERSE=10.2.3.0/24
|
||||
|
||||
check() {
|
||||
CMD="weave_on $HOST1 $@"
|
||||
assert_raises "timeout 10 cat <( $CMD )"
|
||||
}
|
||||
|
||||
. ./config.sh
|
||||
|
||||
start_suite "'detach' and 'hide' do not require IP allocation"
|
||||
|
||||
weave_on $HOST1 launch --ipalloc-range $UNIVERSE --ipalloc-init consensus=2
|
||||
|
||||
start_container $HOST1 10.2.1.1/24 --name=c1
|
||||
check detach 10.2.1.1/24 c1
|
||||
check detach net:10.2.3.0/24 c1
|
||||
check detach c1
|
||||
|
||||
weave_on $HOST1 expose 10.2.1.2/24
|
||||
check hide 10.2.1.2/24
|
||||
check hide net:10.2.3.0/24
|
||||
check hide
|
||||
|
||||
end_suite
|
||||
Reference in new issue
Block a user