We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 63f5f08 commit 5e5aac0Copy full SHA for 5e5aac0
postgresql_embedded/src/settings.rs
@@ -109,7 +109,7 @@ impl Settings {
109
username: BOOTSTRAP_SUPERUSER.to_string(),
110
password,
111
temporary: true,
112
- timeout: Some(Duration::from_secs(30)),
+ timeout: Some(Duration::from_secs(5)),
113
configuration: HashMap::new(),
114
}
115
@@ -289,7 +289,7 @@ mod tests {
289
.url("test")
290
.replace(settings.password.as_str(), "password")
291
);
292
- assert_eq!(Some(Duration::from_secs(30)), settings.timeout);
+ assert_eq!(Some(Duration::from_secs(5)), settings.timeout);
293
assert!(settings.configuration.is_empty());
294
295
0 commit comments