mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-07 00:55:55 +00:00
fix typo in test setup
This commit is contained in:
parent
cf97a0dcb8
commit
bc4983bf86
1 changed files with 1 additions and 3 deletions
|
|
@ -1785,7 +1785,6 @@ func TestExecutor_Execute_SetValue(t *testing.T) {
|
|||
t.Fatalf("unexpected value: %v", value)
|
||||
}
|
||||
})
|
||||
|
||||
}
|
||||
|
||||
func TestExecutor_ExecuteTopK(t *testing.T) {
|
||||
|
|
@ -1830,8 +1829,7 @@ func TestExecutor_ExecuteTopK(t *testing.T) {
|
|||
|
||||
for _, tst := range tests {
|
||||
t.Run(tst.fieldName, func(t *testing.T) {
|
||||
pilosa.OptFieldTypeMutex(pilosa.CacheTypeRanked, 10)
|
||||
c.CreateField(t, c.Idx(), pilosa.IndexOptions{TrackExistence: true}, tst.fieldName)
|
||||
c.CreateField(t, c.Idx(), pilosa.IndexOptions{TrackExistence: true}, tst.fieldName, pilosa.OptFieldTypeMutex(pilosa.CacheTypeRanked, 10))
|
||||
c.ImportBits(t, c.Idx(), tst.fieldName, tst.bits)
|
||||
if result, err := c.GetNode(0).API.Query(context.Background(), &pilosa.QueryRequest{Index: c.Idx(), Query: tst.query}); err != nil {
|
||||
t.Fatal(err)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue