MCPcopy
hub / github.com/opencontainers/runc / TestRunningStateTransition

Function TestRunningStateTransition

libcontainer/state_linux_test.go:88–98  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

86}
87
88func TestRunningStateTransition(t *testing.T) {
89 testTransitions(
90 t,
91 &runningState{c: &Container{}},
92 []containerState{
93 &stoppedState{},
94 &pausedState{},
95 &runningState{},
96 },
97 )
98}
99
100func TestCreatedStateTransition(t *testing.T) {
101 testTransitions(

Callers

nothing calls this directly

Calls 1

testTransitionsFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…