mirror of
https://github.com/idanoo/autobrr
synced 2025-07-23 00:39:13 +00:00
feat(tests): add Parallelization where possible (#1823)
* feat(tests): add Parallelization where possible
This commit is contained in:
parent
c0882aff84
commit
4cc0f9cc83
18 changed files with 53 additions and 2 deletions
|
@ -17,6 +17,7 @@ import (
|
|||
)
|
||||
|
||||
func TestRSSJob_processItem(t *testing.T) {
|
||||
t.Parallel()
|
||||
now := time.Now()
|
||||
nowMinusTime := time.Now().Add(time.Duration(-3000) * time.Second)
|
||||
|
||||
|
@ -234,6 +235,7 @@ func TestRSSJob_processItem(t *testing.T) {
|
|||
}
|
||||
|
||||
func Test_isMaxAge(t *testing.T) {
|
||||
t.Parallel()
|
||||
type args struct {
|
||||
maxAge int
|
||||
item time.Time
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue