File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -3197,9 +3197,15 @@ func (s *MethodTestSuite) TestExtraMethods() {
3197
3197
provisionersdk .TagScope : provisionersdk .ScopeOrganization ,
3198
3198
},
3199
3199
})
3200
- ds , err := db .GetProvisionerDaemonsWithStatusByOrganization (context .Background (), database.GetProvisionerDaemonsWithStatusByOrganizationParams {OrganizationID : org .ID })
3200
+ ds , err := db .GetProvisionerDaemonsWithStatusByOrganization (context .Background (), database.GetProvisionerDaemonsWithStatusByOrganizationParams {
3201
+ OrganizationID : org .ID ,
3202
+ StaleIntervalMS : 86400000 , // 24 hours.
3203
+ })
3201
3204
s .NoError (err , "get provisioner daemon with status by org" )
3202
- check .Args (database.GetProvisionerDaemonsWithStatusByOrganizationParams {OrganizationID : org .ID }).Asserts (d , policy .ActionRead ).Returns (ds )
3205
+ check .Args (database.GetProvisionerDaemonsWithStatusByOrganizationParams {
3206
+ OrganizationID : org .ID ,
3207
+ StaleIntervalMS : 86400000 , // 24 hours.
3208
+ }).Asserts (d , policy .ActionRead ).Returns (ds )
3203
3209
}))
3204
3210
s .Run ("GetEligibleProvisionerDaemonsByProvisionerJobIDs" , s .Subtest (func (db database.Store , check * expects ) {
3205
3211
dbtestutil .DisableForeignKeysAndTriggers (s .T (), db )
You can’t perform that action at this time.
0 commit comments