File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -399,7 +399,7 @@ fn test_actor_common() {
399
399
// Send Shutdown
400
400
root_handle. send ( Value :: Shutdown ) ;
401
401
402
- thread:: sleep ( Duration :: from_millis ( 1 ) ) ;
402
+ thread:: sleep ( Duration :: from_millis ( 2 ) ) ;
403
403
// 3 children Actors
404
404
assert_eq ! ( 3 , result_string. pop_front( ) . unwrap( ) . len( ) ) ;
405
405
@@ -477,7 +477,7 @@ fn test_actor_ask() {
477
477
root_handle. send ( Value :: AskIntByBlockingQueue ( ( 4 , result_i32. clone ( ) ) ) ) ;
478
478
root_handle. send ( Value :: AskIntByBlockingQueue ( ( 5 , result_i32. clone ( ) ) ) ) ;
479
479
root_handle. send ( Value :: AskIntByBlockingQueue ( ( 6 , result_i32. clone ( ) ) ) ) ;
480
- thread:: sleep ( Duration :: from_millis ( 1 ) ) ;
480
+ thread:: sleep ( Duration :: from_millis ( 2 ) ) ;
481
481
let i = result_i32. take ( ) ;
482
482
assert_eq ! ( Some ( 40 ) , i) ;
483
483
let i = result_i32. take ( ) ;
You can’t perform that action at this time.
0 commit comments