@@ -532,17 +532,19 @@ func TestApplyContainerEdits(t *testing.T) {
532532 spec : & oci.Spec {},
533533 edits : & cdi.ContainerEdits {
534534 IntelRdt : & cdi.IntelRdt {
535- ClosID : "clos-1" ,
536- L3CacheSchema : "L3:0=ff;1=ff" ,
537- MemBwSchema : "MB:0=50;1=50" ,
535+ ClosID : "clos-1" ,
536+ L3CacheSchema : "L3:0=ff;1=ff" ,
537+ MemBwSchema : "MB:0=50;1=50" ,
538+ EnableMonitoring : true ,
538539 },
539540 },
540541 result : & oci.Spec {
541542 Linux : & oci.Linux {
542543 IntelRdt : & oci.LinuxIntelRdt {
543- ClosID : "clos-1" ,
544- L3CacheSchema : "L3:0=ff;1=ff" ,
545- MemBwSchema : "MB:0=50;1=50" ,
544+ ClosID : "clos-1" ,
545+ L3CacheSchema : "L3:0=ff;1=ff" ,
546+ MemBwSchema : "MB:0=50;1=50" ,
547+ EnableMonitoring : true ,
546548 },
547549 },
548550 },
@@ -552,9 +554,10 @@ func TestApplyContainerEdits(t *testing.T) {
552554 spec : & oci.Spec {
553555 Linux : & oci.Linux {
554556 IntelRdt : & oci.LinuxIntelRdt {
555- ClosID : "clos-1" ,
556- L3CacheSchema : "L3:0=ff" ,
557- MemBwSchema : "MB:0=100" ,
557+ ClosID : "clos-1" ,
558+ L3CacheSchema : "L3:0=ff" ,
559+ MemBwSchema : "MB:0=100" ,
560+ EnableMonitoring : true ,
558561 },
559562 },
560563 },
0 commit comments