Skip to content

Commit 5e5aac0

Browse files
committed
test: revert timeout to 5 seconds
1 parent 63f5f08 commit 5e5aac0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

postgresql_embedded/src/settings.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ impl Settings {
109109
username: BOOTSTRAP_SUPERUSER.to_string(),
110110
password,
111111
temporary: true,
112-
timeout: Some(Duration::from_secs(30)),
112+
timeout: Some(Duration::from_secs(5)),
113113
configuration: HashMap::new(),
114114
}
115115
}
@@ -289,7 +289,7 @@ mod tests {
289289
.url("test")
290290
.replace(settings.password.as_str(), "password")
291291
);
292-
assert_eq!(Some(Duration::from_secs(30)), settings.timeout);
292+
assert_eq!(Some(Duration::from_secs(5)), settings.timeout);
293293
assert!(settings.configuration.is_empty());
294294
}
295295

0 commit comments

Comments
 (0)