From 4b9f203cd41b2b8cb73deef9c04f1011c7d56a93 Mon Sep 17 00:00:00 2001 From: Sergey Fedchenko Date: Sat, 25 Nov 2017 22:41:42 +0300 Subject: [PATCH] use utc time zone in es storage get indices test --- plugin/storage/es/dependencystore/storage_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/storage/es/dependencystore/storage_test.go b/plugin/storage/es/dependencystore/storage_test.go index 9620de7e6afe..48dbf4317883 100644 --- a/plugin/storage/es/dependencystore/storage_test.go +++ b/plugin/storage/es/dependencystore/storage_test.go @@ -174,7 +174,7 @@ func createSearchResult(dependencyLink string) *elastic.SearchResult { } func TestGetIndices(t *testing.T) { - fixedTime := time.Date(1995, time.April, 21, 4, 12, 19, 95, time.Local) + fixedTime := time.Date(1995, time.April, 21, 4, 12, 19, 95, time.UTC) testCases := []struct { expected []string lookback time.Duration