Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2463)

Unified Diff: appengine/cmd/dm/service/distributor_integration_test.go

Issue 1537883002: Initial distributor implementation (Closed) Base URL: https://chromium.googlesource.com/external/github.com/luci/luci-go@master
Patch Set: work in progress Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: appengine/cmd/dm/service/distributor_integration_test.go
diff --git a/appengine/cmd/dm/service/distributor_integration_test.go b/appengine/cmd/dm/service/distributor_integration_test.go
new file mode 100644
index 0000000000000000000000000000000000000000..d35c2e9e927d6f219ac5d62ac908e40036bd68b7
--- /dev/null
+++ b/appengine/cmd/dm/service/distributor_integration_test.go
@@ -0,0 +1,29 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+package service
+
+import (
+ "testing"
+
+ "github.com/luci/luci-go/appengine/cmd/dm/distributor"
+ "github.com/luci/luci-go/appengine/cmd/dm/distributor/jobsim"
+ . "github.com/smartystreets/goconvey/convey"
+)
+
+func DistributorIntegrationTest(t *testing.T) {
+ t.Parallel()
+
+ if testing.Short() {
+ t.Skip("skipping integration tests due to -short")
+ }
+
+ Convey("Integrate!", t, func() {
+ s := &DungeonMaster{
+ distributors: distributor.Registry{},
+ }
+ simServer := jobsim.RegisterLocal(s.distributors, s)
+
+ })
+}

Powered by Google App Engine
This is Rietveld 408576698