Upgrade onos-test to use 'stc setup'
Change-Id: Id955256ad63119e32602405e6b22943cefd25e6f
Showing
1 changed file
with
1 additions
and
11 deletions
... | @@ -3,9 +3,6 @@ | ... | @@ -3,9 +3,6 @@ |
3 | # Launches the ONOS tests on the current cell environment. | 3 | # Launches the ONOS tests on the current cell environment. |
4 | # ----------------------------------------------------------------------------- | 4 | # ----------------------------------------------------------------------------- |
5 | 5 | ||
6 | -echo "This command has been deprecated and will be removed after Falcon release" | ||
7 | -echo "Please use the 'stc setup' command instead" | ||
8 | - | ||
9 | set -e | 6 | set -e |
10 | 7 | ||
11 | [ ! -d "$ONOS_ROOT" ] && echo "ONOS_ROOT is not defined" >&2 && exit 1 | 8 | [ ! -d "$ONOS_ROOT" ] && echo "ONOS_ROOT is not defined" >&2 && exit 1 |
... | @@ -14,12 +11,5 @@ set -e | ... | @@ -14,12 +11,5 @@ set -e |
14 | nodes=$(env | sort | egrep "OC[0-9]+" | cut -d= -f2) | 11 | nodes=$(env | sort | egrep "OC[0-9]+" | cut -d= -f2) |
15 | 12 | ||
16 | onos-package | 13 | onos-package |
17 | -onos-verify-cell || exit 1 | 14 | +stc setup |
18 | - | ||
19 | -for node in $nodes; do onos-install -f $node 1>/dev/null & done | ||
20 | - | ||
21 | -# Wait for shutdown before waiting for restart | ||
22 | -sleep 3 | ||
23 | 15 | ||
24 | -for node in $nodes; do onos-wait-for-start $node; done | ||
25 | -for node in $nodes; do onos-check-logs $node; done | ... | ... |
-
Please register or login to post a comment