From ba851accbb816e09ecab3c47c93c9828de911af8 Mon Sep 17 00:00:00 2001 From: Michael Baird Date: Mon, 1 May 2017 10:50:54 -0500 Subject: [PATCH] fixed test failures --- glide.lock | 6 ++++-- stats_test.go | 7 ++++--- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/glide.lock b/glide.lock index a615eac54..da29236f2 100644 --- a/glide.lock +++ b/glide.lock @@ -1,5 +1,5 @@ -hash: 5066da70d6f312d032800619798684a693851eb77991b3788f68e89dfaf93925 -updated: 2017-04-25T15:31:49.712775923-05:00 +hash: 98b6811c335d30f9711d53472ad3e1ae51090a04751dd6dc3bcb97a54e01afb9 +updated: 2017-05-01T10:42:29.124689561-05:00 imports: - name: github.com/armon/go-metrics version: 97c69685293dce4c0a2d0b19535179bbc976e4d2 @@ -7,6 +7,8 @@ imports: version: 4b1ebc1869ad66568b313d0dc410e2be72670dda - name: github.com/BurntSushi/toml version: 99064174e013895bbd9b025c31100bd1d9b590ca +- name: github.com/CAFxX/gcnotifier + version: adea3e70515666981da25214a7d3e377e4841c22 - name: github.com/DataDog/datadog-go version: 909c02b65dd8a52e8fa6072db9752a112227cf21 subpackages: diff --git a/stats_test.go b/stats_test.go index 526b1deeb..9a6ce4ac7 100644 --- a/stats_test.go +++ b/stats_test.go @@ -2,11 +2,12 @@ package pilosa_test import ( "context" - "github.com/pilosa/pilosa" "net/http" "strings" "testing" "time" + + "github.com/pilosa/pilosa" ) func TestStatsCount_TopN(t *testing.T) { @@ -65,7 +66,7 @@ func TestStatsCount_Bitmap(t *testing.T) { return }, } - if _, err := e.Execute(context.Background(), "d", MustParse(`Bitmap(frame=f, id=0)`), nil, nil); err != nil { + if _, err := e.Execute(context.Background(), "d", MustParse(`Bitmap(frame=f, rowID=0)`), nil, nil); err != nil { t.Fatal(err) } if !called { @@ -96,7 +97,7 @@ func TestStatsCount_SetBitmapAttrs(t *testing.T) { return }, } - if _, err := e.Execute(context.Background(), "d", MustParse(`SetRowAttrs(id=10, frame=f, foo="bar")`), nil, nil); err != nil { + if _, err := e.Execute(context.Background(), "d", MustParse(`SetRowAttrs(rowID=10, frame=f, foo="bar")`), nil, nil); err != nil { t.Fatal(err) } if !called {