diff options
Diffstat (limited to 'container/autoroot_test.go')
| -rw-r--r-- | container/autoroot_test.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/container/autoroot_test.go b/container/autoroot_test.go index d53edc71..129ff4ed 100644 --- a/container/autoroot_test.go +++ b/container/autoroot_test.go @@ -13,6 +13,7 @@ import ( func TestAutoRootOp(t *testing.T) { t.Run("nonrepeatable", func(t *testing.T) { + t.Parallel() wantErr := OpRepeatError("autoroot") if err := new(AutoRootOp).apply(&setupState{nonrepeatable: nrAutoRoot}, nil); !errors.Is(err, wantErr) { t.Errorf("apply: error = %v, want %v", err, wantErr) @@ -180,6 +181,8 @@ func TestAutoRootOp(t *testing.T) { } func TestIsAutoRootBindable(t *testing.T) { + t.Parallel() + testCases := []struct { name string want bool @@ -196,6 +199,7 @@ func TestIsAutoRootBindable(t *testing.T) { } for _, tc := range testCases { t.Run(tc.name, func(t *testing.T) { + t.Parallel() var msg message.Msg if tc.log { msg = &kstub{nil, stub.New(t, func(s *stub.Stub[syscallDispatcher]) syscallDispatcher { panic("unreachable") }, stub.Expect{Calls: []stub.Call{ |
