Skip to content

Commit

Permalink
example: remove sleep from client.rs
Browse files Browse the repository at this point in the history
To speed up the sync-test.

Signed-off-by: Tim Zhang <[email protected]>
  • Loading branch information
Tim-Zhang committed Oct 9, 2024
1 parent 5c0da46 commit b2b8211
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions example/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -151,9 +151,6 @@ fn connect_once() {
now.elapsed()
);

println!("\nsleep 2 seconds ...\n");
thread::sleep(std::time::Duration::from_secs(2));

let version = hc.version(default_ctx(), &health::CheckRequest::new());
assert_eq!("mock.0.1", version.as_ref().unwrap().agent_version.as_str());
assert_eq!("0.0.1", version.as_ref().unwrap().grpc_version.as_str());
Expand Down

0 comments on commit b2b8211

Please sign in to comment.