File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
tests-and-examples/tests/cases Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -391,7 +391,7 @@ impl ChannelBuilder {
391
391
}
392
392
393
393
/// Build `ChannelArgs` from the current configuration.
394
- #[ allow( clippy:: identity_conversion ) ]
394
+ #[ allow( clippy:: useless_conversion ) ]
395
395
pub fn build_args ( & self ) -> ChannelArgs {
396
396
let args = unsafe { grpc_sys:: grpcwrap_channel_args_create ( self . options . len ( ) ) } ;
397
397
for ( i, ( k, v) ) in self . options . iter ( ) . enumerate ( ) {
Original file line number Diff line number Diff line change @@ -49,6 +49,9 @@ impl RouteGuide for RouteGuideService {
49
49
break ;
50
50
}
51
51
}
52
+ // Sleep a while to avoid the possibility that the client will receive
53
+ // remotestopped error.
54
+ std:: thread:: sleep ( std:: time:: Duration :: from_millis ( 100 ) ) ;
52
55
resp. success ( summary) . await ?;
53
56
Ok ( ( ) )
54
57
}
You can’t perform that action at this time.
0 commit comments