Skip to content

Commit

Permalink
Updating appropriate test checks and check time
Browse files Browse the repository at this point in the history
  • Loading branch information
Caprowni committed Oct 24, 2023
1 parent 240ebe6 commit ec915a4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion atc/db/check_factory_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ var _ = Describe("CheckFactory", func() {
Expect(fakeResourceType.CheckPlanCallCount()).To(Equal(1))
_, types, version, interval, defaults, _, _ := fakeResourceType.CheckPlanArgsForCall(0)
Expect(version).To(Equal(atc.Version{"from": "version"}))
Expect(interval.Interval).To(Equal(defaultCheckInterval))
Expect(interval.Interval).To(Equal(defaultResourceTypeInterval))
Expect(types).To(Equal(rts))
Expect(defaults).To(Equal(atc.Source{}))
})
Expand Down
2 changes: 1 addition & 1 deletion atc/db/db_suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ var (

defaultCheckInterval = time.Minute
defaultWebhookCheckInterval = time.Hour
defaultResourceTypeInterval = time.Minute
defaultResourceTypeInterval = time.Hour
defaultCheckTimeout = 5 * time.Minute

defaultBuildCreatedBy string
Expand Down

0 comments on commit ec915a4

Please sign in to comment.