add more error telemetry
This commit is contained in:
@@ -52,7 +52,9 @@ pub async fn test_single_out_in() {
|
||||
// Send to input
|
||||
let r_message = assbuf_in
|
||||
.insert_frame(&frame, r_remote_addr)
|
||||
.expect("should get one out");
|
||||
.into_result()
|
||||
.expect("should get a value")
|
||||
.expect("should get something out");
|
||||
|
||||
// We should have gotten the same message
|
||||
assert_eq!(r_message, message);
|
||||
@@ -110,7 +112,10 @@ pub async fn test_one_frag_out_in() {
|
||||
|
||||
while let Ok((frame, r_remote_addr)) = net_rx.recv_async().await {
|
||||
// Send to input
|
||||
let r_message = assbuf_in.insert_frame(&frame, r_remote_addr);
|
||||
let r_message = assbuf_in
|
||||
.insert_frame(&frame, r_remote_addr)
|
||||
.into_result()
|
||||
.expect("should get a value");
|
||||
|
||||
// We should have gotten the same message
|
||||
if let Some(r_message) = r_message {
|
||||
@@ -172,7 +177,10 @@ pub async fn test_many_frags_out_in() {
|
||||
|
||||
while let Ok((frame, r_remote_addr)) = net_rx.recv_async().await {
|
||||
// Send to input
|
||||
let r_message = assbuf_in.insert_frame(&frame, r_remote_addr);
|
||||
let r_message = assbuf_in
|
||||
.insert_frame(&frame, r_remote_addr)
|
||||
.into_result()
|
||||
.expect("should get a value");
|
||||
|
||||
// We should have gotten the same message
|
||||
if let Some(r_message) = r_message {
|
||||
@@ -234,7 +242,10 @@ pub async fn test_many_frags_out_in_single_host() {
|
||||
|
||||
while let Ok((frame, r_remote_addr)) = net_rx.recv_async().await {
|
||||
// Send to input
|
||||
let r_message = assbuf_in.insert_frame(&frame, r_remote_addr);
|
||||
let r_message = assbuf_in
|
||||
.insert_frame(&frame, r_remote_addr)
|
||||
.into_result()
|
||||
.expect("should get a value");
|
||||
|
||||
// We should have gotten the same message
|
||||
if let Some(r_message) = r_message {
|
||||
@@ -309,7 +320,10 @@ pub async fn test_many_frags_with_drops() {
|
||||
|
||||
while let Ok((frame, r_remote_addr)) = net_rx.recv_async().await {
|
||||
// Send to input
|
||||
let r_message = assbuf_in.insert_frame(&frame, r_remote_addr);
|
||||
let r_message = assbuf_in
|
||||
.insert_frame(&frame, r_remote_addr)
|
||||
.into_result()
|
||||
.expect("should get a value");
|
||||
|
||||
// We should have gotten the same message
|
||||
if let Some(r_message) = r_message {
|
||||
@@ -383,7 +397,10 @@ pub async fn test_many_frags_reordered() {
|
||||
|
||||
while let Ok((frame, r_remote_addr)) = net_rx.recv_async().await {
|
||||
// Send to input
|
||||
let r_message = assbuf_in.insert_frame(&frame, r_remote_addr);
|
||||
let r_message = assbuf_in
|
||||
.insert_frame(&frame, r_remote_addr)
|
||||
.into_result()
|
||||
.expect("should get a value");
|
||||
|
||||
// We should have gotten the same message
|
||||
if let Some(r_message) = r_message {
|
||||
|
Reference in New Issue
Block a user