From 2de543bc55adbdfc7875af1a25a18ec757d68b17 Mon Sep 17 00:00:00 2001 From: nagamocha3000 Date: Fri, 26 Feb 2021 19:09:17 +0300 Subject: [PATCH] Rename index to avoid possible conflict --- executor_test.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/executor_test.go b/executor_test.go index 1f22cce55..2b3de8d42 100644 --- a/executor_test.go +++ b/executor_test.go @@ -6977,11 +6977,11 @@ func variousQueriesOnPercentiles(t *testing.T, clusterSize int) { } // generic index - c.CreateField(t, "users", pilosa.IndexOptions{Keys: true, TrackExistence: true}, "net_worth", pilosa.OptFieldTypeInt(min, max)) - c.ImportIntKey(t, "users", "net_worth", intEntries) + c.CreateField(t, "users2", pilosa.IndexOptions{Keys: true, TrackExistence: true}, "net_worth", pilosa.OptFieldTypeInt(min, max)) + c.ImportIntKey(t, "users2", "net_worth", intEntries) - c.CreateField(t, "users", pilosa.IndexOptions{Keys: true, TrackExistence: true}, "val", pilosa.OptFieldKeys()) - c.ImportKeyKey(t, "users", "val", stringEntries) + c.CreateField(t, "users2", pilosa.IndexOptions{Keys: true, TrackExistence: true}, "val", pilosa.OptFieldKeys()) + c.ImportKeyKey(t, "users2", "val", stringEntries) splitSortBackToCSV := func(csvStr string) string { ss := strings.Split(csvStr[:len(csvStr)-1], "\n")