File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
internal/pkg/agent/application/upgrade Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -271,7 +271,6 @@ desired_outcome: true
271
271
}
272
272
273
273
func Test_markUpgradeLocking (t * testing.T ) {
274
-
275
274
type dataDirHookFunc func (t * testing.T , dataDir string )
276
275
277
276
type args struct {
@@ -372,7 +371,8 @@ func Test_markUpgradeLocking(t *testing.T) {
372
371
wantErr : assert .Error ,
373
372
},
374
373
{
375
- name : "Update marker creation should fail if marker is already locked by another process" , args : args {
374
+ name : "Update marker creation should fail if marker is already locked by another process" ,
375
+ args : args {
376
376
agent : newAgent456 ,
377
377
previousAgent : prevAgent123 ,
378
378
action : nil ,
@@ -430,6 +430,7 @@ func Test_markUpgradeLocking(t *testing.T) {
430
430
}
431
431
for _ , tt := range tests {
432
432
t .Run (tt .name , func (t * testing.T ) {
433
+ t .Parallel ()
433
434
tmpDataDir := t .TempDir ()
434
435
logger , _ := loggertest .New (t .Name ())
435
436
if tt .beforeUpdateMarkerCreation != nil {
You can’t perform that action at this time.
0 commit comments