MCPcopy
hub / github.com/containerd/containerd / printExecutions

Function printExecutions

contrib/fuzz/cri_server_fuzz_test.go:105–124  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

103)
104
105func printExecutions(t *testing.T) {
106 if r := recover(); r != nil {
107 var err string
108 switch res := r.(type) {
109 case string:
110 err = res
111 case golangruntime.Error:
112 err = res.Error()
113 case error:
114 err = res.Error()
115 default:
116 err = "uknown error type"
117 }
118 t.Log("Executions:")
119 for _, eo := range executionOrder {
120 t.Log(eo)
121 }
122 t.Fatal(err)
123 }
124}
125
126type fuzzCRIService interface {
127 server.CRIService

Callers 1

fuzzCRIFunction · 0.85

Calls 3

LogMethod · 0.80
FatalMethod · 0.80
ErrorMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…