diff --git a/quickwit/quickwit-indexing/src/source/mod.rs b/quickwit/quickwit-indexing/src/source/mod.rs index d9ec6ca107d..5b136430912 100644 --- a/quickwit/quickwit-indexing/src/source/mod.rs +++ b/quickwit/quickwit-indexing/src/source/mod.rs @@ -69,6 +69,7 @@ mod kafka_source; mod kinesis; #[cfg(feature = "pulsar")] mod pulsar_source; +#[cfg(feature = "sqs")] mod queue_sources; mod source_factory; mod vec_source; @@ -670,7 +671,8 @@ mod tests { } } - pub(crate) async fn setup_index( + #[cfg(any(feature = "sqs-localstack-tests", feature = "kafka-broker-tests"))] + pub async fn setup_index( mut metastore: MetastoreServiceClient, index_id: &str, source_config: &SourceConfig,