Skip to content

Commit

Permalink
enable index create test with enableVectorIntegrityCheck
Browse files Browse the repository at this point in the history
  • Loading branch information
dwelch-spike committed Oct 22, 2024
1 parent 69baf3b commit 0802ad7
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions integration_single_node_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,9 @@ func (suite *SingleNodeTestSuite) TestIndexCreate() {
Labels: map[string]string{
"a": "b",
},
HnswParams: &protos.HnswParams{
EnableVectorIntegrityCheck: ptr(false),
},
},
protos.IndexDefinition{
Id: &protos.IndexId{
Expand All @@ -306,7 +309,9 @@ func (suite *SingleNodeTestSuite) TestIndexCreate() {
"a": "b",
},
Params: &protos.IndexDefinition_HnswParams{
HnswParams: &protos.HnswParams{},
HnswParams: &protos.HnswParams{
EnableVectorIntegrityCheck: ptr(false),
},
},
},
},
Expand Down Expand Up @@ -434,6 +439,7 @@ func (suite *SingleNodeTestSuite) TestIndexUpdate() {
MaxEntries: ptr(uint64(10_007)),
Expiry: ptr(int64(10_008)),
},
EnableVectorIntegrityCheck: ptr(true),
},
updateLabels: map[string]string{
"c": "d",
Expand Down Expand Up @@ -479,7 +485,6 @@ func (suite *SingleNodeTestSuite) TestIndexUpdate() {
IndexParallelism: ptr(uint32(2)),
ReIndexParallelism: ptr(uint32(3)),
},
// TODO fix this EnableVectorIntegrityCheck: ptr(true),
RecordCachingParams: &protos.HnswCachingParams{
MaxEntries: ptr(uint64(10_007)),
Expiry: ptr(int64(10_008)),
Expand Down

0 comments on commit 0802ad7

Please sign in to comment.