You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opendal.apache.org by su...@apache.org on 2023/10/29 08:26:28 UTC

(incubator-opendal) branch supabase-test-planner updated: try fix

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

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


The following commit(s) were added to refs/heads/supabase-test-planner by this push:
     new 7eeff1382 try fix
7eeff1382 is described below

commit 7eeff138288d490805cf20f23d50e73b78d14ea8
Author: suyanhanx <su...@gmail.com>
AuthorDate: Sun Oct 29 16:25:58 2023 +0800

    try fix
    
    Signed-off-by: suyanhanx <su...@gmail.com>
---
 .../test/java/org/apache/opendal/test/behavior/AsyncWriteTest.java   | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/bindings/java/src/test/java/org/apache/opendal/test/behavior/AsyncWriteTest.java b/bindings/java/src/test/java/org/apache/opendal/test/behavior/AsyncWriteTest.java
index 7297b2345..82da1f31c 100644
--- a/bindings/java/src/test/java/org/apache/opendal/test/behavior/AsyncWriteTest.java
+++ b/bindings/java/src/test/java/org/apache/opendal/test/behavior/AsyncWriteTest.java
@@ -92,6 +92,11 @@ public class AsyncWriteTest extends BehaviorTestBase {
      */
     @Test
     public void testWriteFileWithNonAsciiName() {
+        // Supabase does not support non-ascii name.
+        if (op.info().scheme() == "supabase") {
+            return;
+        }
+
         final String path = "βŒπŸ˜±δΈ­ζ–‡.test";
         final byte[] content = generateBytes();
         op().write(path, content).join();