isolate unit tests from stackrc HOST_IP check
The HOST_IP check in stackrc is useful for real users, but some cloud nodes that infra runs don't detect it correctly, and it's not actually required for unit tests to work right. Change-Id: Id2aaa713aea91825021e9d8d49d19f3e40a8e6c9
This commit is contained in:
parent
e79678af5e
commit
365421b99a
@ -8,9 +8,6 @@ TOP=$(cd $(dirname "$0")/.. && pwd)
|
||||
# Import common functions
|
||||
source $TOP/functions
|
||||
|
||||
# Import configuration
|
||||
source $TOP/openrc
|
||||
|
||||
|
||||
echo "Testing IP addr functions"
|
||||
|
||||
|
@ -17,6 +17,8 @@ TOP=$(cd $(dirname "$0")/.. && pwd)
|
||||
|
||||
export TOP_DIR=$TOP
|
||||
|
||||
# we don't actually care about the HOST_IP
|
||||
HOST_IP="don't care"
|
||||
# Import common functions
|
||||
source $TOP/functions
|
||||
source $TOP/stackrc
|
||||
|
Loading…
Reference in New Issue
Block a user