mysql: mysql tests should use a db server with UTC

To get rid of issues involving date/time when testing.
Also, makes it possible to run mysql integration tests for both
grafana config db and tsdb at the same time using
GRAFANA_TEST_DB=mysql go test ./pkg/...
This commit is contained in:
Marcus Efraimsson
2018-04-10 10:58:45 +02:00
parent a314890f89
commit 5c120c2c11
6 changed files with 156 additions and 62 deletions
+2
View File
@@ -0,0 +1,2 @@
CREATE DATABASE grafana_ds_tests;
GRANT ALL PRIVILEGES ON grafana_ds_tests.* TO 'grafana';