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

pull/8458/head
Torkel Ödegaard 8 years ago
commit 5740702cb5
  1. 3
      CHANGELOG.md
  2. 4
      pkg/tsdb/time_range_test.go

@ -1,3 +1,6 @@
# 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())

Loading…
Cancel
Save