We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e86ba94 commit 3d93d64Copy full SHA for 3d93d64
util/testutil/integration/run.go
@@ -45,6 +45,7 @@ type Sandbox interface {
45
46
Context() context.Context
47
Cmd(...string) *exec.Cmd
48
+ Logs() map[string]*bytes.Buffer
49
PrintLogs(*testing.T)
50
ClearLogs()
51
NewRegistry() (string, error)
util/testutil/integration/sandbox.go
@@ -72,6 +72,10 @@ func (sb *sandbox) Context() context.Context {
72
return sb.ctx
73
}
74
75
+func (sb *sandbox) Logs() map[string]*bytes.Buffer {
76
+ return sb.logs
77
+}
78
+
79
func (sb *sandbox) PrintLogs(t *testing.T) {
80
printLogs(sb.logs, t.Log)
81
0 commit comments