Skip to content

Commit

Permalink
Fix Docker
Browse files Browse the repository at this point in the history
  • Loading branch information
alexey-milovidov committed Jan 13, 2024
1 parent 7ca8ea9 commit 6955574
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docker/test/stateful/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ ENGINE = MergeTree
PARTITION BY toYYYYMM(EventDate)
ORDER BY (CounterID, EventDate, intHash32(UserID))
SAMPLE BY intHash32(UserID)
SETTINGS disk = disk(type = cache, path = '/dev/shm/clickhouse/', max_size = '16G',
SETTINGS disk = disk(type = cache, path = '/dev/shm/clickhouse/', max_size = '2G',
disk = disk(type = web, endpoint = 'https://clickhouse-datasets-web.s3.us-east-1.amazonaws.com/'));
"

Expand Down Expand Up @@ -434,7 +434,7 @@ ENGINE = CollapsingMergeTree(Sign)
PARTITION BY toYYYYMM(StartDate)
ORDER BY (CounterID, StartDate, intHash32(UserID), VisitID)
SAMPLE BY intHash32(UserID)
SETTINGS disk = disk(type = cache, path = '/dev/shm/clickhouse/', max_size = '16G',
SETTINGS disk = disk(type = cache, path = '/dev/shm/clickhouse/', max_size = '2G',
disk = disk(type = web, endpoint = 'https://clickhouse-datasets-web.s3.us-east-1.amazonaws.com/'));
"

Expand Down
2 changes: 1 addition & 1 deletion tests/ci/functional_test_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ def get_run_command(
)

return (
f"docker run --volume={builds_path}:/package_folder "
f"docker run --shm-size=2g --volume={builds_path}:/package_folder "
f"{ci_logs_args}"
f"--volume={repo_path}/tests:/usr/share/clickhouse-test "
f"{volume_with_broken_test}"
Expand Down

0 comments on commit 6955574

Please sign in to comment.