Skip to content

Commit 7c8d1d2

Browse files
committed
tests: add integration test for exec()
1 parent 15414c0 commit 7c8d1d2

File tree

9 files changed

+825
-10
lines changed

9 files changed

+825
-10
lines changed

cmd/vela-worker/exec.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ func (w *Worker) exec(index int) error {
5252
// https://pkg.go.dev/github.com/go-vela/worker/runtime?tab=doc#New
5353
w.Runtime, err = runtime.New(&runtime.Setup{
5454
Logger: logger,
55+
Mock: w.Config.Runtime.Mock,
5556
Driver: w.Config.Runtime.Driver,
5657
ConfigFile: w.Config.Runtime.ConfigFile,
5758
HostVolumes: w.Config.Runtime.HostVolumes,

0 commit comments

Comments
 (0)