fix poller package

pull/1/head
Brad Rydzewski 5 years ago
parent b546cbadce
commit f16a481b8b

@ -18,6 +18,7 @@ import (
"golang.org/x/sync/semaphore"
)
// Execer executes the pipeline.
type Execer struct {
mu sync.Mutex
engine Engine
@ -26,7 +27,7 @@ type Execer struct {
sem *semaphore.Weighted
}
// NewExecer returns a new execer used
// NewExecer returns a new execer.
func NewExecer(
reporter pipeline.Reporter,
streamer pipeline.Streamer,

@ -3,3 +3,33 @@
// that can be found in the LICENSE file.
package runtime
import "testing"
func TestExec(t *testing.T) {
t.Skip()
}
func TestExec_NonZeroExit(t *testing.T) {
t.Skip()
}
func TestExec_Exit78(t *testing.T) {
t.Skip()
}
func TestExec_Error(t *testing.T) {
t.Skip()
}
func TestExec_CtxError(t *testing.T) {
t.Skip()
}
func TestExec_ReportError(t *testing.T) {
t.Skip()
}
func TestExec_SkipCtxDone(t *testing.T) {
t.Skip()
}

@ -1,10 +1,8 @@
// DO NOT EDIT.
// Copyright 2019 Drone.IO Inc. All rights reserved.
// Use of this source code is governed by the Polyform License
// that can be found in the LICENSE file.
package runtime
package poller
import (
"context"

@ -2,4 +2,22 @@
// Use of this source code is governed by the Polyform License
// that can be found in the LICENSE file.
package runtime
package poller
import "testing"
func TestPoll(t *testing.T) {
t.Skip()
}
func TestPoll_NilStage(t *testing.T) {
t.Skip()
}
func TestPoll_EmptyStage(t *testing.T) {
t.Skip()
}
func TestPoll_RequestError(t *testing.T) {
t.Skip()
}

Loading…
Cancel
Save