8
8
)
9
9
10
10
func TestKeyctlProvider_Creation (t * testing.T ) {
11
+ t .Parallel ()
11
12
provider , err := NewKeyctlProvider ()
12
13
if err != nil {
13
14
t .Skipf ("Keyctl provider creation failed (may be expected in test environments): %v" , err )
@@ -26,6 +27,7 @@ func TestKeyctlProvider_Creation(t *testing.T) {
26
27
}
27
28
28
29
func TestKeyctlProvider_Name (t * testing.T ) {
30
+ t .Parallel ()
29
31
provider , err := NewKeyctlProvider ()
30
32
if err != nil {
31
33
t .Skipf ("Keyctl provider creation failed: %v" , err )
@@ -39,6 +41,7 @@ func TestKeyctlProvider_Name(t *testing.T) {
39
41
}
40
42
41
43
func TestKeyctlProvider_BasicOperations (t * testing.T ) {
44
+ t .Parallel ()
42
45
provider , err := NewKeyctlProvider ()
43
46
if err != nil {
44
47
t .Skipf ("Keyctl provider creation failed: %v" , err )
@@ -55,6 +58,7 @@ func TestKeyctlProvider_BasicOperations(t *testing.T) {
55
58
testValue := "test-value"
56
59
57
60
t .Run ("Set and Get" , func (t * testing.T ) {
61
+ t .Parallel ()
58
62
// Set a value
59
63
err := provider .Set (testService , testKey , testValue )
60
64
if err != nil {
@@ -73,6 +77,7 @@ func TestKeyctlProvider_BasicOperations(t *testing.T) {
73
77
})
74
78
75
79
t .Run ("Get_NotFound" , func (t * testing.T ) {
80
+ t .Parallel ()
76
81
_ , err := provider .Get ("nonexistent-service" , "nonexistent-key" )
77
82
if err == nil {
78
83
t .Error ("expected error for nonexistent key" )
@@ -84,6 +89,7 @@ func TestKeyctlProvider_BasicOperations(t *testing.T) {
84
89
})
85
90
86
91
t .Run ("Delete" , func (t * testing.T ) {
92
+ t .Parallel ()
87
93
// Delete the test key
88
94
err := provider .Delete (testService , testKey )
89
95
if err != nil {
@@ -124,6 +130,7 @@ func TestKeyctlProvider_BasicOperations(t *testing.T) {
124
130
}
125
131
126
132
func TestKeyctlProvider_MultipleServices (t * testing.T ) {
133
+ t .Parallel ()
127
134
provider , err := NewKeyctlProvider ()
128
135
if err != nil {
129
136
t .Skipf ("Keyctl provider creation failed: %v" , err )
0 commit comments