Skip to content

Commit

Permalink
fix: change cmd test to use durations
Browse files Browse the repository at this point in the history
  • Loading branch information
masonyc committed Oct 12, 2023
1 parent fb95889 commit 45f4d43
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/cmd/src/datanode.rs
Original file line number Diff line number Diff line change
Expand Up @@ -259,9 +259,9 @@ mod tests {
} = options.meta_client.unwrap();

assert_eq!(vec!["127.0.0.1:3002".to_string()], metasrv_addr);
assert_eq!(5000, connect_timeout_millis);
assert_eq!(10000, ddl_timeout_millis);
assert_eq!(3000, timeout_millis);
assert_eq!(5000, connect_timeout_millis.as_millis());
assert_eq!(10000, ddl_timeout_millis.as_millis());
assert_eq!(3000, timeout_millis.as_millis());
assert!(tcp_nodelay);
assert_eq!("/tmp/greptimedb/", options.storage.data_home);
assert!(matches!(
Expand Down

0 comments on commit 45f4d43

Please sign in to comment.