Skip to content

Commit

Permalink
libcontainer/intelrdt: always run unit tests
Browse files Browse the repository at this point in the history
Run unit tests irrespective of the underlying system configuration, i.e.
even if RDT has not been enabled or is not supported. The tests do not
depend on real kernel interfaces.

Signed-off-by: Markus Lehtonen <[email protected]>
  • Loading branch information
marquiz committed Aug 9, 2021
1 parent 79d292b commit f9c4ecd
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions libcontainer/intelrdt/intelrdt_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@ import (
)

func TestIntelRdtSetL3CacheSchema(t *testing.T) {
if !IsCATEnabled() {
return
}

helper := NewIntelRdtTestUtil(t)

const (
Expand Down Expand Up @@ -46,10 +42,6 @@ func TestIntelRdtSetL3CacheSchema(t *testing.T) {
}

func TestIntelRdtSetMemBwSchema(t *testing.T) {
if !IsMBAEnabled() {
return
}

helper := NewIntelRdtTestUtil(t)

const (
Expand Down Expand Up @@ -80,10 +72,6 @@ func TestIntelRdtSetMemBwSchema(t *testing.T) {
}

func TestIntelRdtSetMemBwScSchema(t *testing.T) {
if !IsMBAScEnabled() {
return
}

helper := NewIntelRdtTestUtil(t)

const (
Expand Down

0 comments on commit f9c4ecd

Please sign in to comment.