This is an automated email from the ASF dual-hosted git repository.

suyanhanx pushed a commit to branch nodejs-stream
in repository https://gitbox.apache.org/repos/asf/incubator-opendal.git


The following commit(s) were added to refs/heads/nodejs-stream by this push:
     new 5f1a4426b try
5f1a4426b is described below

commit 5f1a4426b12647c6b6ba51662ba8a06c736eba9f
Author: suyanhanx <[email protected]>
AuthorDate: Sun Nov 26 13:54:09 2023 +0800

    try
    
    Signed-off-by: suyanhanx <[email protected]>
---
 bindings/nodejs/tests/suites/sync.suite.mjs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bindings/nodejs/tests/suites/sync.suite.mjs 
b/bindings/nodejs/tests/suites/sync.suite.mjs
index 9bd4262d1..474958c28 100644
--- a/bindings/nodejs/tests/suites/sync.suite.mjs
+++ b/bindings/nodejs/tests/suites/sync.suite.mjs
@@ -58,7 +58,7 @@ export function run(op) {
       let c = generateFixedBytes(5 * 1024 * 1024)
       const filename = `random_file_${randomUUID()}`
 
-      op.writeSync(filename, c)
+      await op.write(filename, c)
 
       const r = new ReaderStream(op, filename)
       let chunks = []

Reply via email to