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