Skip to content

Commit

Permalink
ah, that's why we don't snapshot CH in this test
Browse files Browse the repository at this point in the history
  • Loading branch information
pauldambra committed Mar 19, 2024
1 parent 87b0ac1 commit 21f5812
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions posthog/session_recordings/test/test_session_recordings.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
snapshot_postgres_queries,
FuzzyInt,
_create_event,
snapshot_clickhouse_queries,
)


Expand Down Expand Up @@ -62,8 +61,9 @@ def create_snapshot(
)

@snapshot_postgres_queries
@snapshot_clickhouse_queries
@freeze_time("2023-01-01T12:00:00.000Z")
# we can't take snapshots of the CH queries
# because we use `now()` in the CH queries which don't know about any frozen time
# @snapshot_clickhouse_queries
def test_get_session_recordings(self):
twelve_distinct_ids: List[str] = [f"user_one_{i}" for i in range(12)]

Expand Down

0 comments on commit 21f5812

Please sign in to comment.