Skip to content

Commit

Permalink
chore: bump clickhouse for local dev and ci to 23.6 (#16361)
Browse files Browse the repository at this point in the history
* chore: bump clickhouse for local dev and ci to 23.6

* test to see if race condition

* it is a race
  • Loading branch information
fuziontech authored Jul 4, 2023
1 parent 312cbd6 commit 522a08a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci-backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ jobs:
fail-fast: false
matrix:
python-version: ['3.10.10']
clickhouse-server-image: ['clickhouse/clickhouse-server:23.4.2.11']
clickhouse-server-image: ['clickhouse/clickhouse-server:23.6.1.1524']
segment: ['FOSS', 'EE']
person-on-events: [false, true]
# :NOTE: Keep concurrency and groups in sync
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ services:
# Note: please keep the default version in sync across
# `posthog` and the `charts-clickhouse` repos
#
image: ${CLICKHOUSE_SERVER_IMAGE:-clickhouse/clickhouse-server:23.4.2.11}
image: ${CLICKHOUSE_SERVER_IMAGE:-clickhouse/clickhouse-server:23.6.1.1524}
restart: on-failure
depends_on:
- kafka
Expand Down
4 changes: 3 additions & 1 deletion ee/billing/test/test_quota_limiting.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import time
from uuid import uuid4


from dateutil.relativedelta import relativedelta
from django.utils import timezone
from django.utils.timezone import now
Expand Down Expand Up @@ -71,7 +73,7 @@ def test_billing_rate_limit(self) -> None:
timestamp=now() - relativedelta(hours=1),
team=self.team,
)

time.sleep(1)
result = update_all_org_billing_quotas()
org_id = str(self.organization.id)
assert result["events"] == {org_id: 1612137599}
Expand Down

0 comments on commit 522a08a

Please sign in to comment.