feat(tests): add Parallelization where possible (#1823)

* feat(tests): add Parallelization where possible
This commit is contained in:
Kyle Sanderson 2024-11-23 06:16:09 -08:00 committed by GitHub
parent c0882aff84
commit 4cc0f9cc83
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
18 changed files with 53 additions and 2 deletions

View file

@ -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