disttask: fix wrongly add subtask when state transform fail #46259
65.2173% of diff hit (target 0.0000%)
View this Pull Request on Codecov
65.2173% of diff hit (target 0.0000%)
Annotations
Check warning on line 226 in disttask/framework/dispatcher/dispatcher.go
codecov / codecov/patch
disttask/framework/dispatcher/dispatcher.go#L225-L226
Added lines #L225 - L226 were not covered by tests
Check warning on line 472 in disttask/framework/storage/task_table.go
codecov / codecov/patch
disttask/framework/storage/task_table.go#L471-L472
Added lines #L471 - L472 were not covered by tests
Check warning on line 481 in disttask/framework/storage/task_table.go
codecov / codecov/patch
disttask/framework/storage/task_table.go#L480-L481
Added lines #L480 - L481 were not covered by tests
Check warning on line 508 in disttask/framework/storage/task_table.go
codecov / codecov/patch
disttask/framework/storage/task_table.go#L508
Added line #L508 was not covered by tests