Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion test/components/connectors/test_openapi_connector.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
# SPDX-License-Identifier: Apache-2.0

import os
import sys
from unittest.mock import Mock, patch

import pytest
Expand Down Expand Up @@ -197,7 +198,8 @@ def test_serper_dev_integration(self):
not os.environ.get("GITHUB_TOKEN", None), reason="Export an env var called GITHUB_TOKEN to run this test."
)
@pytest.mark.integration
@pytest.mark.flaky(reruns=3, reruns_delay=5)
@pytest.mark.skipif(sys.platform != "linux", reason="We only test on Linux to avoid hitting rate limits")
@pytest.mark.flaky(reruns=3, reruns_delay=10)
def test_github_api_integration(self):
component = OpenAPIConnector(
openapi_spec="https://raw.githubusercontent.com/github/rest-api-description/main/descriptions/api.github.com/api.github.com.json",
Expand Down
Loading