Commit dbcc2e86 by bergquist

adds integration tests to ci build

parent 11cde7ed
...@@ -13,8 +13,6 @@ func init() { ...@@ -13,8 +13,6 @@ func init() {
registry.RegisterService(&ServerLockService{}) registry.RegisterService(&ServerLockService{})
} }
// DistributedLockService
// ServerLockService allows servers in HA mode to claim a lock // ServerLockService allows servers in HA mode to claim a lock
// and execute an function if the server was granted the lock // and execute an function if the server was granted the lock
type ServerLockService struct { type ServerLockService struct {
......
...@@ -19,5 +19,5 @@ exit_if_fail time go install ./pkg/cmd/grafana-server ...@@ -19,5 +19,5 @@ exit_if_fail time go install ./pkg/cmd/grafana-server
echo "running go test" echo "running go test"
set -e set -e
time for d in $(go list ./pkg/...); do time for d in $(go list ./pkg/...); do
exit_if_fail go test -covermode=atomic $d exit_if_fail go test -tags=integration -covermode=atomic $d
done done
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