Skip to content

Commit e89a96e

Browse files
authored
tests(duckdb): explicitly install icu for flakey test (#816)
1 parent ad30aaf commit e89a96e

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

crates/duckdb/src/client.rs

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -442,23 +442,18 @@ mod tests {
442442

443443
#[fixture]
444444
#[once]
445-
fn install_spatial() {
445+
fn install_extensions() {
446446
let connection = Connection::open_in_memory().unwrap();
447+
connection.execute("INSTALL icu", []).unwrap();
447448
connection.execute("INSTALL spatial", []).unwrap();
448449
}
449450

450451
#[allow(unused_variables)]
451452
#[fixture]
452-
fn client(install_spatial: ()) -> Client {
453+
fn client(install_extensions: ()) -> Client {
453454
Client::new().unwrap()
454455
}
455456

456-
#[allow(unused_variables)]
457-
#[rstest]
458-
fn new(install_spatial: ()) {
459-
Client::new().unwrap();
460-
}
461-
462457
#[rstest]
463458
fn extensions(client: Client) {
464459
let _ = client.extensions().unwrap();

0 commit comments

Comments
 (0)