Skip to content
Merged
Show file tree
Hide file tree
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
6 changes: 5 additions & 1 deletion tests/decorators/test_branch_external_python.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,11 @@
pytestmark = pytest.mark.db_test


class Test_BranchPythonDecoratedOperator:
class Test_BranchExternalPythonDecoratedOperator:
# when run in "Parallel" test run environment, sometimes this test runs for a long time
# because creating virtualenv and starting new Python interpreter creates a lot of IO/contention
# possibilities. So we are increasing the timeout for this test to 3x of the default timeout
@pytest.mark.execution_timeout(180)
@pytest.mark.parametrize("branch_task_name", ["task_1", "task_2"])
def test_branch_one(self, dag_maker, branch_task_name):
@task
Expand Down
6 changes: 5 additions & 1 deletion tests/decorators/test_branch_virtualenv.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,11 @@
pytestmark = pytest.mark.db_test


class Test_BranchPythonDecoratedOperator:
class Test_BranchPythonVirtualenvDecoratedOperator:
# when run in "Parallel" test run environment, sometimes this test runs for a long time
# because creating virtualenv and starting new Python interpreter creates a lot of IO/contention
# possibilities. So we are increasing the timeout for this test to 3x of the default timeout
@pytest.mark.execution_timeout(180)
@pytest.mark.parametrize("branch_task_name", ["task_1", "task_2"])
def test_branch_one(self, dag_maker, branch_task_name):
@task
Expand Down