## Is your feature request related to a problem?

we currently run e2e tests with postgres backend, potentially causing us to miss bugs as we are deprecating Postgres (#6662)

## Describe the solution you'd like

Run e2e tests with clickhouse

## Describe alternatives you've considered



## Additional context

I'll pick this up tomorrow

#### *Thank you* for your feature request – we love each and every one!

posthog/tasks/test/test_calculate_event_property_usage.py
event="$pageview",
                    properties={"$current_url": "https://posthog2.com"},
                )
                create_event(distinct_id="test", team=self.team, event="custom event", properties={"team_id": "3"})
                
                create_event(
                    distinct_id="test",
                    team=team2,
                    event="$pageview",
                    properties={"$current_url": "https://posthog.com"},
                )
                Insight.objects.create(
                    team=team2,
                    filters={
                        "events": [{"id": "$pageview"}],
                        "properties": [{"key": "$current_url", "value": "https://posthog.com"}],
                    },
                )
                calculate_event_property_usage_for_team(self.team.pk)
            self.assertEqual(2, EventDefinition.objects.get(team=self.team, name="$pageview").query_usage_30_day)
            self.assertEqual(2, EventDefinition.objects.get(team=self.team, name="$pageview").volume_30_day)
            self.assertEqual(1, EventDefinition.objects.get(team=self.team, name="custom event").query_usage_30_day)
            self.assertEqual(1, EventDefinition.objects.get(team=self.team, name="custom event").volume_30_day)
            self.assertEqual(2, PropertyDefinition.objects.get(team=self.team, name="$current_url").query_usage_30_day)
            self.assertEqual(1, PropertyDefinition.objects.get(team=self.team, name="team_id").query_usage_30_day)
            self.assertEqual(0, PropertyDefinition.objects.get(team=self.team, name="value").query_usage_30_day)
    return Test
class Test(calculate_event_property_usage_test_factory(Event.objects.create)):  
    pass