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 <noreply@anthropic.com>
This commit is contained in:
jgrusewski
2026-02-25 13:34:57 +01:00
parent 20a771578f
commit 87aa103f33

View File

@@ -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());