Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion wrappers/.ci/docker-compose-native.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,13 @@ services:
ports:
- "9000:9000" # native interface
- "8123:8123" # http interface
environment:
CLICKHOUSE_DEFAULT_ACCESS_MANAGEMENT: 1
CLICKHOUSE_USER: default
CLICKHOUSE_PASSWORD: default
CLICKHOUSE_DB: default
healthcheck:
test: sleep 4 && wget --no-verbose --tries=1 --spider http://localhost:8123/?query=SELECT%201 || exit 1
test: sleep 4 && wget --no-verbose --tries=1 --spider http://default:default@127.0.0.1:8123/?query=SELECT%201 || exit 1
interval: 10s
timeout: 5s
retries: 20
Expand Down
4 changes: 2 additions & 2 deletions wrappers/src/fdw/clickhouse_fdw/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ mod tests {
#[pg_test]
fn clickhouse_smoketest() {
Spi::connect(|mut c| {
let clickhouse_pool = ch::Pool::new("tcp://default:@localhost:9000/default");
let clickhouse_pool = ch::Pool::new("tcp://default:default@localhost:9000/default");

let rt = create_async_runtime().expect("failed to create runtime");
let mut handle = rt
Expand Down Expand Up @@ -37,7 +37,7 @@ mod tests {
r#"CREATE SERVER my_clickhouse_server
FOREIGN DATA WRAPPER clickhouse_wrapper
OPTIONS (
conn_string 'tcp://default:@localhost:9000/default'
conn_string 'tcp://default:default@localhost:9000/default'
)"#,
None,
None,
Expand Down
Loading