File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -74,6 +74,8 @@ func Test_ContainerdRestart_LCOW(t *testing.T) {
7474
7575// test restarting containers and pods
7676func Test_Container_CRI_Restart (t * testing.T ) {
77+ requireFeatures (t , featureCRIPlugin )
78+
7779 client := newTestRuntimeClient (t )
7880 pluginClient := newTestPluginClient (t )
7981 ctx , cancel := context .WithCancel (context .Background ())
@@ -220,6 +222,8 @@ func Test_Container_CRI_Restart_State(t *testing.T) {
220222 testFile := "t.txt"
221223 wcowTestFile := `C:\Users\ContainerUser\t.txt`
222224
225+ requireFeatures (t , featureCRIPlugin )
226+
223227 client := newTestRuntimeClient (t )
224228 ctx , cancel := context .WithCancel (context .Background ())
225229 defer cancel ()
Original file line number Diff line number Diff line change @@ -106,6 +106,7 @@ const (
106106 featureTerminateOnRestart = "TerminateOnRestart"
107107 featureLCOWIntegrity = "LCOWIntegrity"
108108 featureLCOWCrypt = "LCOWCrypt"
109+ featureCRIPlugin = "CRIPlugin"
109110)
110111
111112var allFeatures = []string {
@@ -117,6 +118,9 @@ var allFeatures = []string{
117118 featureGPU ,
118119 featureCRIUpdateContainer ,
119120 featureTerminateOnRestart ,
121+ featureLCOWIntegrity ,
122+ featureLCOWCrypt ,
123+ featureCRIPlugin ,
120124}
121125
122126func init () {
You can’t perform that action at this time.
0 commit comments