Skip to content

Commit e18a6dc

Browse files
committed
feat: update build workflows and tests for connector version handling
1 parent d1a4f25 commit e18a6dc

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
lines changed

.github/workflows/build.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ jobs:
2929
repository: "taosdata/TDengine"
3030
path: "TDengine"
3131
ref: "main"
32-
submodules: "recursive"
3332

3433
- name: Install system dependencies
3534
run: |

.github/workflows/compatibility.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ jobs:
4949
env:
5050
TDENGINE_CLOUD_URL: ${{ secrets.TDENGINE_CLOUD_URL }}
5151
TDENGINE_CLOUD_TOKEN: ${{ secrets.TDENGINE_CLOUD_TOKEN }}
52+
TEST_3360: true
5253
run: |
5354
npm install
5455
npm list

nodejs/test/bulkPulling/sql.test.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,9 @@ describe("TDWebSocket.WsSql()", () => {
266266
await wsSql.close();
267267
});
268268

269-
test("connector version info", async () => {
269+
const maybeConnectorVersionTest = process.env.TEST_3360 ? test.skip : test;
270+
271+
maybeConnectorVersionTest("connector version info", async () => {
270272
let conf: WSConfig = new WSConfig(dns);
271273
conf.setUser("root");
272274
conf.setPwd("taosdata");

nodejs/test/bulkPulling/tmq.test.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,9 @@ describe("TDWebSocket.Tmq()", () => {
399399
await consumer.close();
400400
});
401401

402-
test("connector version info", async () => {
402+
const maybeConnectorVersionTest = process.env.TEST_3360 ? test.skip : test;
403+
404+
maybeConnectorVersionTest("connector version info", async () => {
403405
let consumer = await WsConsumer.newConsumer(configMap);
404406
await consumer.subscribe(topics);
405407

0 commit comments

Comments
 (0)