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

wu-sheng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/skywalking-python.git


The following commit(s) were added to refs/heads/master by this push:
     new fd4d626  fix(ci): unblock CI — approved paths-filter pin + happybase 
test flake (#405)
fd4d626 is described below

commit fd4d626ab9554cc00e5b4ac467e8c948a54c3ff6
Author: 吴晟 Wu Sheng <[email protected]>
AuthorDate: Thu Jun 25 17:21:32 2026 +0800

    fix(ci): unblock CI — approved paths-filter pin + happybase test flake 
(#405)
---
 .github/workflows/CI.yaml                        | 2 +-
 tests/plugin/data/sw_happybase/test_happybase.py | 7 ++++++-
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/CI.yaml b/.github/workflows/CI.yaml
index 9106edd..1364acc 100644
--- a/.github/workflows/CI.yaml
+++ b/.github/workflows/CI.yaml
@@ -88,7 +88,7 @@ jobs:
         with:
           persist-credentials: false
       - name: Check for file changes
-        uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # 
v3.0.2
+        uses: dorny/paths-filter@fbd0ab8f3e69293af611ebaee6363fc25e6d187d # 
v4.0.1
         id: filter
         with:
           # The following filters indicate a category along with
diff --git a/tests/plugin/data/sw_happybase/test_happybase.py 
b/tests/plugin/data/sw_happybase/test_happybase.py
index 8fe2ba9..e9ab2b6 100644
--- a/tests/plugin/data/sw_happybase/test_happybase.py
+++ b/tests/plugin/data/sw_happybase/test_happybase.py
@@ -27,7 +27,12 @@ from tests.plugin.base import TestPluginBase
 @pytest.fixture
 def prepare():
     # type: () -> Callable
-    return lambda *_: requests.get('http://0.0.0.0:9090/users', timeout=5)
+    # HBase cold-start `create_table` over Thrift can exceed a few seconds. A 
short
+    # client timeout makes the readiness loop (conftest) retry while the 
server has
+    # already created the table, so the retried request hits AlreadyExists -> 
500 and
+    # an extra error segment leaks into the collector (breaking segmentSize: 
1).
+    # Use a generous timeout so the first reachable request completes cleanly.
+    return lambda *_: requests.get('http://0.0.0.0:9090/users', timeout=60)
 
 
 class TestPlugin(TestPluginBase):

Reply via email to