Skip to content

Commit

Permalink
group attributes join
Browse files Browse the repository at this point in the history
  • Loading branch information
volokluev committed Jun 7, 2024
1 parent 4dfe0eb commit 185cf5d
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions tests/datasets/test_group_attributes_join.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ def query_events_inner_joined_group_attributes(self):
),
)

@pytest.mark.clickhouse_db
@pytest.mark.clickhouse_db(storage_keys=["errors", "group_attributes"])
@pytest.mark.redis_db
def test_group_attributes_join(self) -> None:
response = self.query_events_inner_joined_group_attributes()
Expand Down Expand Up @@ -283,7 +283,7 @@ def test_group_attributes_join(self) -> None:
}.items()
)

@pytest.mark.clickhouse_db
@pytest.mark.clickhouse_db(storage_keys=["errors", "group_attributes"])
@pytest.mark.redis_db
def test_group_attributes_inner_join(self) -> None:
response = self.query_events_joined_group_attributes()
Expand Down Expand Up @@ -322,7 +322,7 @@ def test_group_attributes_inner_join(self) -> None:
}.items()
)

@pytest.mark.clickhouse_db
@pytest.mark.clickhouse_db(storage_keys=["errors", "group_attributes"])
@pytest.mark.redis_db
def test_group_attributes_join_after_delete(self) -> None:
delete_row = self.initial_group_attributes.copy()
Expand Down Expand Up @@ -532,7 +532,9 @@ def assert_joined_final(
),
)

@pytest.mark.clickhouse_db
@pytest.mark.clickhouse_db(
storage_keys=["errors", "group_attributes", "search_issues"]
)
@pytest.mark.redis_db
def test_group_attributes_join(self) -> None:
response = self.query_search_issues_joined_group_attributes()
Expand Down Expand Up @@ -573,7 +575,7 @@ def test_group_attributes_join(self) -> None:
}.items()
)

@pytest.mark.clickhouse_db
@pytest.mark.clickhouse_db(storage_keys=["errors", "search_issues"])
@pytest.mark.redis_db
def test_group_attributes_join_after_delete(self) -> None:
delete_row = self.initial_group_attributes.copy()
Expand Down

0 comments on commit 185cf5d

Please sign in to comment.