Skip to content

Commit 89b4669

Browse files
committed
tests: increase timeout for metrics system test
1 parent 77fb84f commit 89b4669

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/tests/metrics_integration_test.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ publish_interval = {{ Millis = 5 }}
6767

6868
#[tokio::test(flavor = "multi_thread")]
6969
async fn test_system_metrics_propagated() {
70-
tokio::time::timeout(Duration::from_secs(10), async {
70+
tokio::time::timeout(Duration::from_secs(15), async {
7171
let mut server = mockito::Server::new_async().await;
7272
// 3 system metrics should be gathered and sent, bundle depends on timing
7373
// Repetition time is longer than test timeout so the maximum should be 3
@@ -108,7 +108,7 @@ async fn test_dynamic_metrics() {
108108
let mock = server.mock("POST", "/").expect(1).create();
109109
let mock2 = server.mock("POST", "/").expect(1).create();
110110

111-
let test = tokio::time::timeout(Duration::from_secs(10), async {
111+
let test = tokio::time::timeout(Duration::from_secs(15), async {
112112
let (redis_container, redis_url, redis_port) = create_redis().await;
113113
let _ = redis_container.start().await;
114114
let config: &'static mut IngestorConfig = Box::leak(Box::new(config(

0 commit comments

Comments
 (0)