Merge pull request #4999 from taosdata/hotfix/test

[NONE]
This commit is contained in:
huili 2021-01-22 11:29:50 +08:00 committed by GitHub
commit 5c88bf3ec3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -35,6 +35,6 @@ rm -rf $SIM_DIR/dnode3
tar zxf $SCRIPT_DIR/general/connection/sim.tar.gz -C $SIM_DIR/../
cd $SIM_DIR/../sim
fqdn=`hostname`
fqdn=`hostname -f || hostname`
grep 'test4' -l -r ./* | xargs sed -i "s/test4/${fqdn}/g"
grep 'dataDir' -l -r ./* | xargs sed -i "s#/root/TDengine#${TAOS_DIR}#g"