From efaf22aa7f1106fe60410ef8d14f9352e62274ac Mon Sep 17 00:00:00 2001 From: Roman Date: Mon, 6 May 2024 19:28:24 +0800 Subject: [PATCH] test: problems with current workdir --- .github/workflows/test_common.yml | 4 +++- src/node/waku_node.py | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test_common.yml b/.github/workflows/test_common.yml index f6e1b5ff..20a68c28 100644 --- a/.github/workflows/test_common.yml +++ b/.github/workflows/test_common.yml @@ -49,7 +49,9 @@ jobs: - run: pip install -r requirements.txt - name: Run tests - run: pytest -n 4 --dist loadgroup --reruns 2 --alluredir=allure-results + run: | + pwd + pytest -n 4 --dist loadgroup --reruns 2 --alluredir=allure-results - name: Get allure history if: always() diff --git a/src/node/waku_node.py b/src/node/waku_node.py index 62d0595b..94f7ad8f 100644 --- a/src/node/waku_node.py +++ b/src/node/waku_node.py @@ -337,6 +337,8 @@ class WakuNode: current_working_directory = os.getcwd() + logger.debug(f"Current working directory: {current_working_directory}") + if self.is_nwaku(): if is_registration: rln_args.update(