Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test(funnels): Make test_funnel_with_sampling SQL deterministic #14423

Closed
wants to merge 3 commits into from

Conversation

Twixes
Copy link
Collaborator

@Twixes Twixes commented Feb 27, 2023

Problem

As seen on a bunch of PRs (like #14286), test_funnel_with_sampling is problematic: it doesn't freeze time, either using date_from + date_to or freeze_time(), so the query snapshots change constantly.

Changes

Added freeze_time() to prevent pointless query snapshot updates.

@Twixes Twixes force-pushed the make-sampling-test-deterministic branch from c707e90 to 45830bc Compare February 28, 2023 14:46
@Twixes Twixes deleted the make-sampling-test-deterministic branch April 26, 2023 10:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant