Skip to content

Commit

Permalink
remove high_memory marker
Browse files Browse the repository at this point in the history
  • Loading branch information
mikealfare committed Dec 19, 2024
1 parent 40ec4b5 commit c6f90e7
Show file tree
Hide file tree
Showing 7 changed files with 1 addition and 20 deletions.
5 changes: 1 addition & 4 deletions hatch.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,7 @@ dependencies = [
setup = "pre-commit install"
code-quality = "pre-commit run --all-files"
unit-tests = "python -m pytest {args:tests/unit}"
integration-tests = [
'- python -m pytest {args:tests/functional} -m "not high_memory"',
'- python -m pytest {args:tests/functional} -m "high_memory"',
]
integration-tests = "- python -m pytest {args:tests/functional}"
docker-dev = [
"docker build -f docker/dev.Dockerfile -t dbt-snowflake-dev .",
"docker run --rm -it --name dbt-snowflake-dev -v $(pwd):/opt/code dbt-snowflake-dev",
Expand Down
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,3 @@ addopts = "-v --color=yes -n auto"
filterwarnings = [
"ignore:datetime.datetime.utcnow:DeprecationWarning",
]
markers = ["high_memory"]
3 changes: 0 additions & 3 deletions tests/functional/adapter/dbt_clone/test_dbt_clone.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@
from dbt.tests.adapter.dbt_clone.test_dbt_clone import BaseClonePossible


pytestmark = pytest.mark.high_memory


class TestSnowflakeClonePossible(BaseClonePossible):
@pytest.fixture(autouse=True)
def clean_up(self, project):
Expand Down
3 changes: 0 additions & 3 deletions tests/functional/adapter/test_constraints.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@
)


pytestmark = pytest.mark.high_memory


my_model_contract_sql_header_sql = """
{{
config(
Expand Down
3 changes: 0 additions & 3 deletions tests/functional/adapter/test_grants.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@
from dbt.tests.adapter.grants.test_snapshot_grants import BaseSnapshotGrants


pytestmark = pytest.mark.high_memory


class BaseCopyGrantsSnowflake:
# Try every test case without copy_grants enabled (default),
# and with copy_grants enabled (this base class)
Expand Down
3 changes: 0 additions & 3 deletions tests/functional/adapter/unit_testing/test_unit_testing.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@
from dbt.tests.adapter.unit_testing.test_invalid_input import BaseUnitTestInvalidInput


pytestmark = pytest.mark.high_memory


class TestSnowflakeUnitTestingTypes(BaseUnitTestingTypes):
@pytest.fixture
def data_types(self):
Expand Down
3 changes: 0 additions & 3 deletions tests/functional/relation_tests/test_relation_type_change.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@
from tests.functional.utils import describe_dynamic_table, query_relation_type, update_model


pytestmark = pytest.mark.high_memory


@dataclass
class Model:
model: str
Expand Down

0 comments on commit c6f90e7

Please sign in to comment.