From 282bf9811fe6dec24ae720b8ff22c6c2ef76bada Mon Sep 17 00:00:00 2001 From: Preston Vasquez Date: Tue, 1 Jul 2025 10:55:11 -0600 Subject: [PATCH 1/3] Skip non-tokenized filter test in langchaingo --- langchaingo-golang/run.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/langchaingo-golang/run.sh b/langchaingo-golang/run.sh index 0f149c5..041adfb 100644 --- a/langchaingo-golang/run.sh +++ b/langchaingo-golang/run.sh @@ -9,4 +9,7 @@ cd vectorstores/mongovector export PATH="$PATH:/opt/golang/$GO_VERSION/bin" export GOROOT="/opt/golang/$GO_VERSION" -go test -v -failfast -race -shuffle=on +# TODO(GODRIVER-3606): Update regression with expected test error in +# LangChainGo for non-tokenized filter. +go test -v -failfast -race -shuffle=on \ + -skip "TestStore_SimilaritySearch_NonExactQuery/with_non-tokenized_filter" From cbe99789faac183e8e215c992bacdd32d981238c Mon Sep 17 00:00:00 2001 From: Preston Vasquez Date: Tue, 1 Jul 2025 10:58:15 -0600 Subject: [PATCH 2/3] Clean up comment --- langchaingo-golang/run.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/langchaingo-golang/run.sh b/langchaingo-golang/run.sh index 041adfb..f4e6025 100644 --- a/langchaingo-golang/run.sh +++ b/langchaingo-golang/run.sh @@ -9,7 +9,7 @@ cd vectorstores/mongovector export PATH="$PATH:/opt/golang/$GO_VERSION/bin" export GOROOT="/opt/golang/$GO_VERSION" -# TODO(GODRIVER-3606): Update regression with expected test error in -# LangChainGo for non-tokenized filter. +# TODO(GODRIVER-3606): Update expected error in LangChainGo test for +# non-tokenized filter go test -v -failfast -race -shuffle=on \ -skip "TestStore_SimilaritySearch_NonExactQuery/with_non-tokenized_filter" From d5108786b9b7a12b99ee6ee534dfe3970dd9b660 Mon Sep 17 00:00:00 2001 From: Preston Vasquez Date: Tue, 1 Jul 2025 10:59:19 -0600 Subject: [PATCH 3/3] Add punctuation --- langchaingo-golang/run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/langchaingo-golang/run.sh b/langchaingo-golang/run.sh index f4e6025..502db1e 100644 --- a/langchaingo-golang/run.sh +++ b/langchaingo-golang/run.sh @@ -10,6 +10,6 @@ export PATH="$PATH:/opt/golang/$GO_VERSION/bin" export GOROOT="/opt/golang/$GO_VERSION" # TODO(GODRIVER-3606): Update expected error in LangChainGo test for -# non-tokenized filter +# non-tokenized filter. go test -v -failfast -race -shuffle=on \ -skip "TestStore_SimilaritySearch_NonExactQuery/with_non-tokenized_filter"