mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-06 08:35:55 +00:00
check errors in test to fix lint
This commit is contained in:
parent
9e3029b969
commit
87ee83f4cb
1 changed files with 6 additions and 2 deletions
|
|
@ -87,13 +87,17 @@ func TestAPI_ImportColumnAttrs(t *testing.T) {
|
|||
val0 := attrFun(uint64(n))
|
||||
attrVals0 = append(attrVals0, val0)
|
||||
setPql0 := fmt.Sprintf("Set(%d, %s=0) ", n, field)
|
||||
m0.API.Query(ctx, &pilosa.QueryRequest{Index: index, Query: setPql0})
|
||||
if _, err := m0.API.Query(ctx, &pilosa.QueryRequest{Index: index, Query: setPql0}); err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
||||
columnIDs1 = append(columnIDs1, uint64(n+ShardWidth))
|
||||
val1 := attrFun(uint64(n + ShardWidth))
|
||||
attrVals1 = append(attrVals1, val1)
|
||||
setPql1 := fmt.Sprintf("Set(%d, %s=0) ", n+ShardWidth, field)
|
||||
m1.API.Query(ctx, &pilosa.QueryRequest{Index: index, Query: setPql1})
|
||||
if _, err := m1.API.Query(ctx, &pilosa.QueryRequest{Index: index, Query: setPql1}); err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
}
|
||||
|
||||
// send shard0 to node1
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue