diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci-build.yml index 783518ed..6d206c23 100644 --- a/.github/workflows/ci-build.yml +++ b/.github/workflows/ci-build.yml @@ -26,7 +26,6 @@ jobs: - "pypy3.10" env: CI_LARGE_SOCKET_MODE_PAYLOAD_TESTING_DISABLED: "1" - CI_UNSTABLE_TESTS_SKIP_ENABLED: "1" FORCE_COLOR: "1" steps: - uses: actions/checkout@v4 diff --git a/tests/helpers.py b/tests/helpers.py index 8b08b7d3..7ee76a13 100644 --- a/tests/helpers.py +++ b/tests/helpers.py @@ -24,7 +24,3 @@ def remove_os_env_temporarily() -> dict: def restore_os_env(old_env: dict) -> None: os.environ.update(old_env) - - -def is_ci_unstable_test_skip_enabled() -> bool: - return os.environ.get("CI_UNSTABLE_TESTS_SKIP_ENABLED") == "1" diff --git a/tests/slack_sdk/socket_mode/test_interactions_websocket_client.py b/tests/slack_sdk/socket_mode/test_interactions_websocket_client.py index 15df8688..c9869af4 100644 --- a/tests/slack_sdk/socket_mode/test_interactions_websocket_client.py +++ b/tests/slack_sdk/socket_mode/test_interactions_websocket_client.py @@ -11,7 +11,6 @@ from slack_sdk import WebClient from slack_sdk.socket_mode.websocket_client import SocketModeClient -from tests.helpers import is_ci_unstable_test_skip_enabled from tests.slack_sdk.socket_mode.mock_socket_mode_server import ( start_socket_mode_server, socket_mode_envelopes, @@ -90,10 +89,6 @@ def socket_mode_request_handler(client: BaseSocketModeClient, request: SocketMod client.close() def test_send_message_while_disconnection(self): - if is_ci_unstable_test_skip_enabled(): - # this test tends to fail on the GitHub Actions platform - return - try: client = SocketModeClient( app_token="xapp-A111-222-xyz",