Skip to content

Commit ad4260f

Browse files
committed
Remove a subtest to shorten the test name
Signed-off-by: Kazuyoshi Kato <[email protected]>
1 parent 020d2d7 commit ad4260f

File tree

1 file changed

+9
-11
lines changed

1 file changed

+9
-11
lines changed

runtime/jailer_integ_test.go

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -99,15 +99,13 @@ func testJailer(t *testing.T, jailerConfig *proto.JailerConfig) {
9999
func TestJailerCPUSet_Isolated(t *testing.T) {
100100
prepareIntegTest(t)
101101

102-
t.Run("TestJailerCPUSet_Isolated", func(t *testing.T) {
103-
b := cpuset.Builder{}
104-
cset := b.AddCPU(0).AddMem(0).Build()
105-
config := &proto.JailerConfig{
106-
CPUs: cset.CPUs(),
107-
Mems: cset.Mems(),
108-
UID: 300000,
109-
GID: 300000,
110-
}
111-
testJailer(t, config)
112-
})
102+
b := cpuset.Builder{}
103+
cset := b.AddCPU(0).AddMem(0).Build()
104+
config := &proto.JailerConfig{
105+
CPUs: cset.CPUs(),
106+
Mems: cset.Mems(),
107+
UID: 300000,
108+
GID: 300000,
109+
}
110+
testJailer(t, config)
113111
}

0 commit comments

Comments
 (0)