OLD | NEW |
(Empty) | |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 package service |
| 6 |
| 7 import ( |
| 8 "testing" |
| 9 |
| 10 "github.com/luci/luci-go/appengine/cmd/dm/distributor" |
| 11 "github.com/luci/luci-go/appengine/cmd/dm/distributor/jobsim" |
| 12 . "github.com/smartystreets/goconvey/convey" |
| 13 ) |
| 14 |
| 15 func DistributorIntegrationTest(t *testing.T) { |
| 16 t.Parallel() |
| 17 |
| 18 if testing.Short() { |
| 19 t.Skip("skipping integration tests due to -short") |
| 20 } |
| 21 |
| 22 Convey("Integrate!", t, func() { |
| 23 s := &DungeonMaster{ |
| 24 distributors: distributor.Registry{}, |
| 25 } |
| 26 simServer := jobsim.RegisterLocal(s.distributors, s) |
| 27 |
| 28 }) |
| 29 } |
OLD | NEW |