Merge pull request #17610 from taosdata/revert-16609-test/taosx

Revert "test: build taosx and add test case of taosx"
This commit is contained in:
Shengliang Guan 2022-10-24 18:02:06 +08:00 committed by GitHub
commit b2512f6b2e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 19 deletions

View File

@ -1,18 +0,0 @@
#!/bin/bash
set -e
taosd >>/dev/null 2>&1 &
taosadapter >>/dev/null 2>&1 &
sleep 5
taosBenchmark -y -n 10000 -t 1000
taosx run -f 'tmq:///test' -t 'taos:///test1' -y
taos -s 'select count(*) from test1.meters' |grep 10000000 || (echo database sync failed!; exit 1)
taosx run -f 'tmq:///test' -t 'local:./test-backup' -y
taosx run -f 'local:./test-backup' -t 'taos:///test2' -y
rm -rf ./test-backup

View File

@ -52,7 +52,7 @@ fi
docker run \
-v $REP_MOUNT_PARAM \
--rm --ulimit core=-1 taos_test:v1.0 sh -c "cd $REP_DIR;rm -rf debug;mkdir -p debug;cd debug;cmake .. -DBUILD_HTTP=false -DBUILD_TOOLS=true -DWEBSOCKET=true -DBUILD_TAOSX=true;make -j $THREAD_COUNT"
--rm --ulimit core=-1 taos_test:v1.0 sh -c "cd $REP_DIR;rm -rf debug;mkdir -p debug;cd debug;cmake .. -DBUILD_HTTP=false -DBUILD_TOOLS=true -DWEBSOCKET=true;make -j $THREAD_COUNT"
ret=$?
exit $ret