Skip to content

Commit

Permalink
airbyte-ci: disable a flaky test (#35418)
Browse files Browse the repository at this point in the history
  • Loading branch information
alafanechere authored Feb 20, 2024
1 parent 263699c commit 08fb4f7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion airbyte-ci/connectors/pipelines/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ shell = "pyinstaller --additional-hooks-dir=pyinstaller_hooks --collect-all pipe
args = [{name = "ARTIFACT_NAME", default="airbyte-ci", positional = true}]

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

Expand Down
1 change: 1 addition & 0 deletions airbyte-ci/connectors/pipelines/pytest.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
addopts = --cov=pipelines
markers =
slow: marks tests as slow (deselect with '-m "not slow"')
flaky: marks tests as flaky (deselect with '-m "not flaky"')
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,10 @@ async def test_cat_container_provisioning(
env_vars = {await env_var.name(): await env_var.value() for env_var in await cat_container.env_variables()}
assert "CACHEBUSTER" in env_vars

@pytest.mark.flaky
# This test has shown some flakiness in CI
# This should be investigated and fixed
# https://github.com/airbytehq/airbyte-internal-issues/issues/6304
async def test_cat_container_caching(
self,
dagger_client,
Expand Down

0 comments on commit 08fb4f7

Please sign in to comment.