added fix to server and unit tests
This commit is contained in:
parent
d26b2676fb
commit
a63fb3019c
|
|
@ -413,6 +413,10 @@ mod tests{
|
|||
let msg = "!success:";
|
||||
transmit_data(&stream_one, msg);
|
||||
}
|
||||
|
||||
let dur = time::Duration::from_millis(500);
|
||||
thread::sleep(dur);
|
||||
|
||||
let msg = "!disconnect:";
|
||||
transmit_data(&stream_one, msg);
|
||||
transmit_data(&stream_two, msg);
|
||||
|
|
|
|||
Loading…
Reference in New Issue