test: skip if index is missing
1 file changed, 2 insertions(+), 2 deletions(-)
changed files
M internal/index/search_test.go → internal/index/search_test.go
@@ -52,7 +52,7 @@ t.Fatal(err) } defer read.Close() if !read.Exists() { - t.Fatal("expected index to exist") + t.Skip("index does not exist") } ctx, cancel := context.WithTimeout(context.Background(), 1*time.Second)@@ -139,7 +139,7 @@ t.Fatal(err) } defer read.Close() if !read.Exists() { - t.Fatal("expected index to exist") + t.Skip("index does not exist") } ctx, cancel := context.WithTimeout(context.Background(), 1*time.Second)