modify node ci example

This commit is contained in:
menshibin 2024-09-25 22:18:41 +08:00
parent 6e5e98bbd4
commit 75bc0a39f9
2 changed files with 0 additions and 19 deletions

View File

@ -34,7 +34,6 @@ async function createConsumer() {
}
async function prepare() {
let conf = new taos.WSConfig('ws://192.168.1.98:6041');
conf.setUser('root');

View File

@ -38,19 +38,10 @@ cd ../../docs/examples/node
npm install
taos -s "drop database if exists power"
check_transactions || exit 1
reset_cache || exit 1
cd websocketexample
taos -s "drop database if exists power"
check_transactions || exit 1
reset_cache || exit 1
node all_type_query.js
taos -s "drop database if exists power"
check_transactions || exit 1
reset_cache || exit 1
node all_type_stmt.js
taos -s "drop database if exists power"
@ -63,19 +54,10 @@ check_transactions || exit 1
reset_cache || exit 1
node nodejsChecker.js
taos -s "drop database if exists power"
check_transactions || exit 1
reset_cache || exit 1
node sql_example.js
taos -s "drop database if exists power"
check_transactions || exit 1
reset_cache || exit 1
node stmt_example.js
taos -s "drop database if exists power"
check_transactions || exit 1
reset_cache || exit 1
node tmq_example.js
node tmq_seek_example.js