From 7db3b08ef4f0776c88101818e8cd2950a1c98fff Mon Sep 17 00:00:00 2001 From: Andrew Kane Date: Fri, 11 Aug 2023 19:41:55 -0700 Subject: [PATCH] Simplified tests [skip ci] --- test/expected/hnsw_options.out | 1 - test/expected/ivfflat_options.out | 1 - test/sql/hnsw_options.sql | 2 -- test/sql/ivfflat_options.sql | 2 -- 4 files changed, 6 deletions(-) diff --git a/test/expected/hnsw_options.out b/test/expected/hnsw_options.out index fe1e865..eeba3e5 100644 --- a/test/expected/hnsw_options.out +++ b/test/expected/hnsw_options.out @@ -1,4 +1,3 @@ -SET enable_seqscan = off; CREATE TABLE t (val vector(3)); CREATE INDEX ON t USING hnsw (val vector_l2_ops) WITH (m = 1); ERROR: value 1 out of bounds for option "m" diff --git a/test/expected/ivfflat_options.out b/test/expected/ivfflat_options.out index 1783ab3..128402f 100644 --- a/test/expected/ivfflat_options.out +++ b/test/expected/ivfflat_options.out @@ -1,4 +1,3 @@ -SET enable_seqscan = off; CREATE TABLE t (val vector(3)); CREATE INDEX ON t USING ivfflat (val vector_l2_ops) WITH (lists = 0); ERROR: value 0 out of bounds for option "lists" diff --git a/test/sql/hnsw_options.sql b/test/sql/hnsw_options.sql index a6040ff..7b9662f 100644 --- a/test/sql/hnsw_options.sql +++ b/test/sql/hnsw_options.sql @@ -1,5 +1,3 @@ -SET enable_seqscan = off; - CREATE TABLE t (val vector(3)); CREATE INDEX ON t USING hnsw (val vector_l2_ops) WITH (m = 1); CREATE INDEX ON t USING hnsw (val vector_l2_ops) WITH (m = 101); diff --git a/test/sql/ivfflat_options.sql b/test/sql/ivfflat_options.sql index 14079c7..aa909a5 100644 --- a/test/sql/ivfflat_options.sql +++ b/test/sql/ivfflat_options.sql @@ -1,5 +1,3 @@ -SET enable_seqscan = off; - CREATE TABLE t (val vector(3)); CREATE INDEX ON t USING ivfflat (val vector_l2_ops) WITH (lists = 0); CREATE INDEX ON t USING ivfflat (val vector_l2_ops) WITH (lists = 32769);