fix(tools): define missing GWS_TIMEOUT_SECS constant
This commit is contained in:
parent
6b1fe960e3
commit
b4f3e4f37b
@ -6060,6 +6060,7 @@ impl Config {
|
||||
}
|
||||
}
|
||||
|
||||
#[allow(clippy::unused_async)]
|
||||
async fn sync_directory(path: &Path) -> Result<()> {
|
||||
#[cfg(unix)]
|
||||
{
|
||||
@ -6085,6 +6086,7 @@ mod tests {
|
||||
#[cfg(unix)]
|
||||
use std::os::unix::fs::PermissionsExt;
|
||||
use std::path::PathBuf;
|
||||
#[cfg(unix)]
|
||||
use tempfile::TempDir;
|
||||
use tokio::sync::{Mutex, MutexGuard};
|
||||
use tokio::test;
|
||||
|
||||
@ -711,6 +711,6 @@ mod tests {
|
||||
|
||||
#[test]
|
||||
fn gws_timeout_is_reasonable() {
|
||||
assert_eq!(GWS_TIMEOUT_SECS, 30);
|
||||
assert_eq!(DEFAULT_GWS_TIMEOUT_SECS, 30);
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user