From 87aa103f3393c45d587705cde91e458115e36f54 Mon Sep 17 00:00:00 2001 From: jgrusewski Date: Wed, 25 Feb 2026 13:34:57 +0100 Subject: [PATCH] fix(backtesting_service): mark data-dependent dbn_repository tests as #[ignore] 10 tests require local DBN files (test_data/real/databento/) that are not checked into the repository. Mark them #[ignore] so CI passes on nodes without the test data. Co-Authored-By: Claude Opus 4.6 --- services/backtesting_service/src/dbn_repository.rs | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/services/backtesting_service/src/dbn_repository.rs b/services/backtesting_service/src/dbn_repository.rs index fff4888d4..8a71790c1 100644 --- a/services/backtesting_service/src/dbn_repository.rs +++ b/services/backtesting_service/src/dbn_repository.rs @@ -697,6 +697,7 @@ mod tests { } #[tokio::test] + #[ignore] // Requires local DBN test data (test_data/real/databento/) async fn test_load_by_time_range() { let mut file_mapping = HashMap::new(); file_mapping.insert("ES.FUT".to_string(), get_test_file_path()); @@ -720,6 +721,7 @@ mod tests { } #[tokio::test] + #[ignore] // Requires local DBN test data (test_data/real/databento/) async fn test_load_with_volume_filter() { let mut file_mapping = HashMap::new(); file_mapping.insert("ES.FUT".to_string(), get_test_file_path()); @@ -745,6 +747,7 @@ mod tests { } #[tokio::test] + #[ignore] // Requires local DBN test data (test_data/real/databento/) async fn test_load_regime_samples_trending() { let mut file_mapping = HashMap::new(); file_mapping.insert("ES.FUT".to_string(), get_test_file_path()); @@ -770,6 +773,7 @@ mod tests { } #[tokio::test] + #[ignore] // Requires local DBN test data (test_data/real/databento/) async fn test_load_regime_samples_ranging() { let mut file_mapping = HashMap::new(); file_mapping.insert("ES.FUT".to_string(), get_test_file_path()); @@ -792,6 +796,7 @@ mod tests { } #[tokio::test] + #[ignore] // Requires local DBN test data (test_data/real/databento/) async fn test_load_regime_samples_invalid() { let mut file_mapping = HashMap::new(); file_mapping.insert("ES.FUT".to_string(), get_test_file_path()); @@ -811,6 +816,7 @@ mod tests { } #[tokio::test] + #[ignore] // Requires local DBN test data (test_data/real/databento/) async fn test_get_date_range() { let mut file_mapping = HashMap::new(); file_mapping.insert("ES.FUT".to_string(), get_test_file_path()); @@ -830,6 +836,7 @@ mod tests { } #[tokio::test] + #[ignore] // Requires local DBN test data (test_data/real/databento/) async fn test_resample_bars() { let mut file_mapping = HashMap::new(); file_mapping.insert("ES.FUT".to_string(), get_test_file_path()); @@ -868,6 +875,7 @@ mod tests { } #[tokio::test] + #[ignore] // Requires local DBN test data (test_data/real/databento/) async fn test_calculate_rolling_stats() { let mut file_mapping = HashMap::new(); file_mapping.insert("ES.FUT".to_string(), get_test_file_path()); @@ -897,6 +905,7 @@ mod tests { } #[tokio::test] + #[ignore] // Requires local DBN test data (test_data/real/databento/) async fn test_generate_summary_stats() { let mut file_mapping = HashMap::new(); file_mapping.insert("ES.FUT".to_string(), get_test_file_path()); @@ -951,6 +960,7 @@ mod tests { } #[tokio::test] + #[ignore] // Requires local DBN test data (test_data/real/databento/) async fn test_performance_target() { let mut file_mapping = HashMap::new(); file_mapping.insert("ES.FUT".to_string(), get_test_file_path());