Skip to content

Commit

Permalink
chore: fix test snapshot flapping (#17807)
Browse files Browse the repository at this point in the history
* chore: fix test snapshot flapping

* are snapshots broken?
  • Loading branch information
pauldambra authored Oct 5, 2023
1 parent 676259c commit ac6c0c3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2735,7 +2735,7 @@
AND s.min_first_timestamp >= '2020-12-31 20:00:00'
AND s.min_first_timestamp >= '2021-01-14 00:00:00'
AND s.max_last_timestamp <= '2021-01-21 20:00:00'
AND "session_id" in ['with-errors-session-497cfe26-1ce1-4a2d-b81d-1b8e171b6564', 'with-two-session-52d93c81-84c8-490d-92fe-cd80ee9a2483', 'with-warns-session-20fe20bd-4364-4376-b221-9a284b53c7b7']
AND "session_id" in ['with-errors-session', 'with-two-session', 'with-warns-session']
GROUP BY session_id
HAVING 1=1
AND (console_warn_count > 0
Expand Down Expand Up @@ -2782,7 +2782,7 @@
AND s.min_first_timestamp >= '2020-12-31 20:00:00'
AND s.min_first_timestamp >= '2021-01-14 00:00:00'
AND s.max_last_timestamp <= '2021-01-21 20:00:00'
AND "session_id" in ['with-warns-session-20fe20bd-4364-4376-b221-9a284b53c7b7']
AND "session_id" in ['with-warns-session']
GROUP BY session_id
HAVING 1=1
AND (console_warn_count > 0
Expand Down Expand Up @@ -2829,7 +2829,7 @@
AND s.min_first_timestamp >= '2020-12-31 20:00:00'
AND s.min_first_timestamp >= '2021-01-14 00:00:00'
AND s.max_last_timestamp <= '2021-01-21 20:00:00'
AND "session_id" in ['with-warns-session-20fe20bd-4364-4376-b221-9a284b53c7b7']
AND "session_id" in ['with-warns-session']
GROUP BY session_id
HAVING 1=1
AND (console_warn_count > 0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1979,10 +1979,10 @@ def test_filter_for_recordings_with_mixed_console_counts(self):
def test_filter_for_recordings_by_console_text(self):
Person.objects.create(team=self.team, distinct_ids=["user"], properties={"email": "bla"})

with_logs_session_id = f"with-logs-session-{str(uuid4())}"
with_warns_session_id = f"with-warns-session-{str(uuid4())}"
with_errors_session_id = f"with-errors-session-{str(uuid4())}"
with_two_session_id = f"with-two-session-{str(uuid4())}"
with_logs_session_id = "with-logs-session"
with_warns_session_id = "with-warns-session"
with_errors_session_id = "with-errors-session"
with_two_session_id = "with-two-session"

produce_replay_summary(
distinct_id="user",
Expand Down

0 comments on commit ac6c0c3

Please sign in to comment.