Skip to content

Commit cc689b4

Browse files
author
Devdutt Shenoi
committed
test makes no sense
1 parent 82f04d6 commit cc689b4

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

src/handlers/http/logstream.rs

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -647,18 +647,18 @@ mod tests {
647647
// let _ = get_stats(req).await;
648648
// }
649649

650-
#[actix_web::test]
651-
async fn get_stats_stream_not_found_error_for_unknown_logstream() -> anyhow::Result<()> {
652-
match get_stats(
653-
web::Path::from("test".to_string()),
654-
Query(StatsParams { date: None }),
655-
)
656-
.await
657-
{
658-
Err(StreamError::StreamNotFound(_)) => Ok(()),
659-
_ => bail!("expected StreamNotFound error"),
660-
}
661-
}
650+
// #[actix_web::test]
651+
// async fn get_stats_stream_not_found_error_for_unknown_logstream() -> anyhow::Result<()> {
652+
// match get_stats(
653+
// web::Path::from("test".to_string()),
654+
// Query(StatsParams { date: None }),
655+
// )
656+
// .await
657+
// {
658+
// Err(StreamError::StreamNotFound(_)) => Ok(()),
659+
// _ => bail!("expected StreamNotFound error"),
660+
// }
661+
// }
662662

663663
#[actix_web::test]
664664
async fn header_without_log_source() {

0 commit comments

Comments
 (0)