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 a6573b131 check capability
a6573b131 is described below

commit a6573b1313f9d23426d4469a77d19045fc4a5e6c
Author: suyanhanx <[email protected]>
AuthorDate: Sun Nov 26 14:01:07 2023 +0800

    check capability
    
    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 474958c28..0f6969826 100644
--- a/bindings/nodejs/tests/suites/sync.suite.mjs
+++ b/bindings/nodejs/tests/suites/sync.suite.mjs
@@ -54,7 +54,7 @@ export function run(op) {
       })
     })
 
-    test('read stream', async () => {
+    test.runIf(op.capability().write)('read stream', async () => {
       let c = generateFixedBytes(5 * 1024 * 1024)
       const filename = `random_file_${randomUUID()}`
 

Reply via email to