Skip to content

Commit

Permalink
fix assertion of posgres to postgressql
Browse files Browse the repository at this point in the history
  • Loading branch information
AyWa committed Jul 27, 2023
1 parent f52ec0b commit 3676465
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions quickwit/quickwit-config/src/node_config/serialize.rs
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ mod tests {
assert_eq!(config.data_dir_path, Path::new("/opt/quickwit/data"));
assert_eq!(
config.metastore_uri,
"postgres://username:password@host:port/db"
"postgresql://username:password@host:port/db"
);
assert_eq!(config.default_index_root_uri, "s3://quickwit-indexes");

Expand Down Expand Up @@ -618,7 +618,7 @@ mod tests {
env_vars.insert("QW_DATA_DIR".to_string(), "test-data-dir".to_string());
env_vars.insert(
"QW_METASTORE_URI".to_string(),
"postgres://test-user:test-password@test-host:4321/test-db".to_string(),
"postgresql://test-user:test-password@test-host:4321/test-db".to_string(),
);
env_vars.insert(
"QW_DEFAULT_INDEX_ROOT_URI".to_string(),
Expand Down Expand Up @@ -672,7 +672,7 @@ mod tests {
);
assert_eq!(
config.metastore_uri,
"postgres://test-user:test-password@test-host:4321/test-db"
"postgresql://test-user:test-password@test-host:4321/test-db"
);
assert_eq!(config.default_index_root_uri, "s3://quickwit-indexes/prod");
}
Expand All @@ -695,7 +695,7 @@ mod tests {
assert_eq!(config.node_id, "node-1");
assert_eq!(
config.metastore_uri,
"postgres://username:password@host:port/db"
"postgresql://username:password@host:port/db"
);
}

Expand All @@ -715,7 +715,7 @@ mod tests {
.unwrap();
assert_eq!(
config.metastore_uri,
"postgres://username:password@host:port/db"
"postgresql://username:password@host:port/db"
);
assert_eq!(config.indexer_config, IndexerConfig::default());
assert_eq!(config.searcher_config, SearcherConfig::default());
Expand Down

0 comments on commit 3676465

Please sign in to comment.