You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by ke...@apache.org on 2021/08/05 12:50:33 UTC

[skywalking-python] branch test/sanic created (now 0f23b9a)

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

kezhenxu94 pushed a change to branch test/sanic
in repository https://gitbox.apache.org/repos/asf/skywalking-python.git.


      at 0f23b9a  test: fix flaky test case `sanic`

This branch includes the following new commits:

     new 0f23b9a  test: fix flaky test case `sanic`

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


[skywalking-python] 01/01: test: fix flaky test case `sanic`

Posted by ke...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

kezhenxu94 pushed a commit to branch test/sanic
in repository https://gitbox.apache.org/repos/asf/skywalking-python.git

commit 0f23b9a3f50a5645eaec9df308eedc658eef187d
Author: kezhenxu94 <ke...@apache.org>
AuthorDate: Thu Aug 5 20:50:25 2021 +0800

    test: fix flaky test case `sanic`
---
 .github/workflows/build.yaml | 1 +
 tests/plugin/conftest.py     | 3 +++
 2 files changed, 4 insertions(+)

diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml
index 1d53e65..a826dc4 100644
--- a/.github/workflows/build.yaml
+++ b/.github/workflows/build.yaml
@@ -21,6 +21,7 @@ on:
   push:
     branches:
       - master
+      - test/sanic
   pull_request:
 
 jobs:
diff --git a/tests/plugin/conftest.py b/tests/plugin/conftest.py
index 66c74c7..0ef3fa6 100644
--- a/tests/plugin/conftest.py
+++ b/tests/plugin/conftest.py
@@ -64,6 +64,9 @@ def docker_compose(request, prepare, version):
             time.sleep(10)
             exception = e
     if exception:
+        stdout, stderr = compose.get_logs()
+        print("stdout:\n:{}".format(stdout))
+        print("stderr:\n:{}".format(stderr))
         compose.stop()
         raise Exception("""Wait time exceeded {0} sec. Exception {1}""".format(100, exception))