Skip to content

Commit 9bbe272

Browse files
authored
fix: retry_classification tests (#3212)
1 parent d721037 commit 9bbe272

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

opentelemetry-otlp/src/retry_classification.rs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -163,13 +163,12 @@ pub mod grpc {
163163

164164
#[cfg(test)]
165165
mod tests {
166-
use super::*;
167-
use std::time::Duration;
168-
169166
// Tests for HTTP error classification
167+
#[cfg(feature = "experimental-http-retry")]
170168
mod http_tests {
171-
use super::*;
169+
use crate::retry::RetryErrorType;
172170
use crate::retry_classification::http::*;
171+
use std::time::Duration;
173172

174173
#[test]
175174
fn test_http_429_with_retry_after_seconds() {

0 commit comments

Comments
 (0)