From 68c091d0e15fb7d3fb063f22717bf11015040346 Mon Sep 17 00:00:00 2001 From: Yang Xiufeng Date: Tue, 12 Nov 2024 16:59:59 +0800 Subject: [PATCH] update test --- bindings/nodejs/tests/binding.js | 2 +- bindings/python/tests/asyncio/steps/binding.py | 2 +- bindings/python/tests/blocking/steps/binding.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bindings/nodejs/tests/binding.js b/bindings/nodejs/tests/binding.js index 5d8a46b7..3afd958a 100644 --- a/bindings/nodejs/tests/binding.js +++ b/bindings/nodejs/tests/binding.js @@ -118,7 +118,7 @@ Then("Stream load and Select should be equal", async function () { ]; const progress = await this.conn.streamLoad(`INSERT INTO test VALUES`, values); assert.equal(progress.writeRows, 3); - assert.equal(progress.writeBytes, 185); + assert.equal(progress.writeBytes, 187); const rows = await this.conn.queryIter("SELECT * FROM test"); const ret = []; diff --git a/bindings/python/tests/asyncio/steps/binding.py b/bindings/python/tests/asyncio/steps/binding.py index 78fd7bcd..fc717ab5 100644 --- a/bindings/python/tests/asyncio/steps/binding.py +++ b/bindings/python/tests/asyncio/steps/binding.py @@ -136,7 +136,7 @@ async def _(context): ] progress = await context.conn.stream_load("INSERT INTO test VALUES", values) assert progress.write_rows == 3, f"progress.write_rows: {progress.write_rows}" - assert progress.write_bytes == 185, f"progress.write_bytes: {progress.write_bytes}" + assert progress.write_bytes == 187, f"progress.write_bytes: {progress.write_bytes}" rows = await context.conn.query_iter("SELECT * FROM test") ret = [] diff --git a/bindings/python/tests/blocking/steps/binding.py b/bindings/python/tests/blocking/steps/binding.py index 7e8ed32a..5d0a6479 100644 --- a/bindings/python/tests/blocking/steps/binding.py +++ b/bindings/python/tests/blocking/steps/binding.py @@ -128,7 +128,7 @@ def _(context): ] progress = context.conn.stream_load("INSERT INTO test VALUES", values) assert progress.write_rows == 3, f"progress.write_rows: {progress.write_rows}" - assert progress.write_bytes == 185, f"progress.write_bytes: {progress.write_bytes}" + assert progress.write_bytes == 187, f"progress.write_bytes: {progress.write_bytes}" rows = context.conn.query_iter("SELECT * FROM test") ret = []