diff --git a/mirrord/intproxy/src/proxies/incoming/interceptor.rs b/mirrord/intproxy/src/proxies/incoming/interceptor.rs index efb04053793..0effac11545 100644 --- a/mirrord/intproxy/src/proxies/incoming/interceptor.rs +++ b/mirrord/intproxy/src/proxies/incoming/interceptor.rs @@ -870,6 +870,8 @@ mod test { .source() .and_then(|source| source.downcast_ref::()) .is_some_and(h2::Error::is_go_away)); + } else { + panic!("The request is supposed to fail with `GO_AWAY`, something is wrong if it didn't!"); } });