Skip to content

Commit

Permalink
update test
Browse files Browse the repository at this point in the history
  • Loading branch information
youngsofun committed Nov 12, 2024
1 parent 5c5efad commit 68c091d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bindings/nodejs/tests/binding.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [];
Expand Down
2 changes: 1 addition & 1 deletion bindings/python/tests/asyncio/steps/binding.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = []
Expand Down
2 changes: 1 addition & 1 deletion bindings/python/tests/blocking/steps/binding.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = []
Expand Down

0 comments on commit 68c091d

Please sign in to comment.