From 75bc0a39f95c7cc9b8cf402e942b0bbdd5a654ae Mon Sep 17 00:00:00 2001 From: menshibin Date: Wed, 25 Sep 2024 22:18:41 +0800 Subject: [PATCH] modify node ci example --- .../node/websocketexample/tmq_seek_example.js | 1 - tests/docs-examples-test/node.sh | 18 ------------------ 2 files changed, 19 deletions(-) diff --git a/docs/examples/node/websocketexample/tmq_seek_example.js b/docs/examples/node/websocketexample/tmq_seek_example.js index 9ade95f4dc..8f00e4230d 100644 --- a/docs/examples/node/websocketexample/tmq_seek_example.js +++ b/docs/examples/node/websocketexample/tmq_seek_example.js @@ -34,7 +34,6 @@ async function createConsumer() { } - async function prepare() { let conf = new taos.WSConfig('ws://192.168.1.98:6041'); conf.setUser('root'); diff --git a/tests/docs-examples-test/node.sh b/tests/docs-examples-test/node.sh index fd0d4de74e..0d829c04a4 100644 --- a/tests/docs-examples-test/node.sh +++ b/tests/docs-examples-test/node.sh @@ -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 \ No newline at end of file