Commit 5740702c by Torkel Ödegaard

Merge branch 'master' of github.com:grafana/grafana

parents a5318def 6541ffe0
# 4.4.0 (unreleased)
* **Elasticsearch**: Added filter aggregation label [#8420](https://github.com/grafana/grafana/pull/8420), thx [@tianzk](github.com/tianzk)
# 4.3.1 (2017-05-23)
## Bug fixes
......
......@@ -52,8 +52,8 @@ func TestTimeRange(t *testing.T) {
})
Convey("now-10m ", func() {
fiveMinAgo, _ := time.ParseDuration("-10m")
expected := now.Add(fiveMinAgo)
tenMinAgo, _ := time.ParseDuration("-10m")
expected := now.Add(tenMinAgo)
res, err := tr.ParseTo()
So(err, ShouldBeNil)
So(res.Unix(), ShouldEqual, expected.Unix())
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment