Skip to content

Commit

Permalink
Reduce wait
Browse files Browse the repository at this point in the history
  • Loading branch information
cygaar committed Dec 17, 2024
1 parent f2875ce commit 89f9581
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rig-mongodb/tests/integration_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ async fn vector_search_test() {
collection.insert_many(embeddings).await.unwrap();

// Wait for the new documents to be indexed
sleep(Duration::from_secs(30)).await;
sleep(Duration::from_secs(5)).await;

// Create a vector index on our vector store.
// Note: a vector index called "vector_index" must exist on the MongoDB collection you are querying.
Expand Down

0 comments on commit 89f9581

Please sign in to comment.