fix int tests

This commit is contained in:
Adil Hafeez 2024-11-12 10:56:22 -08:00
parent 9e48e1ec90
commit a1390dac85

View file

@ -264,7 +264,7 @@ impl HttpContext for StreamContext {
);
}
if end_of_stream {
if end_of_stream && body_size == 0 {
if let Some(traceparent) = self.traceparent.as_ref() {
let since_the_epoch_ns = SystemTime::now()
.duration_since(UNIX_EPOCH)