Skip to content

Commit 08fb4f7

Browse files
authored
airbyte-ci: disable a flaky test (#35418)
1 parent 263699c commit 08fb4f7

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

airbyte-ci/connectors/pipelines/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ shell = "pyinstaller --additional-hooks-dir=pyinstaller_hooks --collect-all pipe
5757
args = [{name = "ARTIFACT_NAME", default="airbyte-ci", positional = true}]
5858

5959
[tool.poe.tasks]
60-
test = "pytest tests"
60+
test = "pytest tests -m 'not flaky'"
6161
type_check = "mypy pipelines --disallow-untyped-defs"
6262
lint = "ruff check pipelines"
6363

airbyte-ci/connectors/pipelines/pytest.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@
22
addopts = --cov=pipelines
33
markers =
44
slow: marks tests as slow (deselect with '-m "not slow"')
5+
flaky: marks tests as flaky (deselect with '-m "not flaky"')

airbyte-ci/connectors/pipelines/tests/test_tests/test_common.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,10 @@ async def test_cat_container_provisioning(
193193
env_vars = {await env_var.name(): await env_var.value() for env_var in await cat_container.env_variables()}
194194
assert "CACHEBUSTER" in env_vars
195195

196+
@pytest.mark.flaky
197+
# This test has shown some flakiness in CI
198+
# This should be investigated and fixed
199+
# https://github.com/airbytehq/airbyte-internal-issues/issues/6304
196200
async def test_cat_container_caching(
197201
self,
198202
dagger_client,

0 commit comments

Comments
 (0)