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

Xuanwo pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/opendal.git


The following commit(s) were added to refs/heads/main by this push:
     new 913dbcdbef ci: schedule FTP behavior tests for bindings that enable 
FTP (#9102)
913dbcdbef is described below

commit 913dbcdbef5699611c7d50544651ed4793a7d349
Author: Xuanwo <[email protected]>
AuthorDate: Thu Nov 26 04:21:01 2026 +0800

    ci: schedule FTP behavior tests for bindings that enable FTP (#9102)
---
 .github/scripts/test_behavior/plan.py      |  4 ++++
 .github/scripts/test_behavior/test_plan.py | 19 +++++++++++++++++++
 2 files changed, 23 insertions(+)

diff --git a/.github/scripts/test_behavior/plan.py 
b/.github/scripts/test_behavior/plan.py
index 956a4bd3e3..8bfd2c53e4 100755
--- a/.github/scripts/test_behavior/plan.py
+++ b/.github/scripts/test_behavior/plan.py
@@ -279,6 +279,10 @@ def _filter_binding_cases(
     # These fixtures target core services without enabling bindings.
     cases = [v for v in cases if v["service"] not in ["github", "hf3fs", 
"smb"]]
 
+    # The default Java and .NET native libraries omit the services-ftp feature.
+    if language in ("java", "dotnet"):
+        cases = [v for v in cases if v["service"] != "ftp"]
+
     if language == "java":
         cases = [
             v
diff --git a/.github/scripts/test_behavior/test_plan.py 
b/.github/scripts/test_behavior/test_plan.py
index 84ac75084b..1a5b99fd62 100644
--- a/.github/scripts/test_behavior/test_plan.py
+++ b/.github/scripts/test_behavior/test_plan.py
@@ -323,6 +323,25 @@ class BehaviorTestPlan(unittest.TestCase):
         go_oses = {target["os"] for target in result["binding_go"]}
         self.assertEqual(go_oses, {"ubuntu-latest", "windows-latest", 
"macos-latest"})
 
+    def 
test_nightly_local_keeps_ftp_for_core_and_respects_native_binding_support(self):
+        result = plan([], mode="nightly-local")
+        core_setups = {
+            (case["service"], setup)
+            for target in result["core"]
+            for case in target["cases"]
+            for setup in case["setups"]
+        }
+        self.assertIn(("ftp", "vsftpd"), core_setups)
+
+        for language in ("java", "dotnet"):
+            with self.subTest(language=language):
+                binding_services = {
+                    case["service"]
+                    for target in result[f"binding_{language}"]
+                    for case in target["cases"]
+                }
+                self.assertNotIn("ftp", binding_services)
+
     def test_nightly_live_ignores_empty_diff_and_excludes_local_setups(self):
         result = plan([], mode="nightly-live")
         self.assertTrue(result["components"]["core"])

Reply via email to