(orgID, orgPoolID string, maxRunners, minIdleRunners uint)
| 158 | } |
| 159 | |
| 160 | func (suite *GarmSuite) UpdateOrgPool(orgID, orgPoolID string, maxRunners, minIdleRunners uint) *params.Pool { |
| 161 | t := suite.T() |
| 162 | t.Logf("Update org pool with org_id %s and pool_id %s", orgID, orgPoolID) |
| 163 | poolParams := params.UpdatePoolParams{ |
| 164 | MinIdleRunners: &minIdleRunners, |
| 165 | MaxRunners: &maxRunners, |
| 166 | } |
| 167 | pool, err := updateOrgPool(suite.cli, suite.authToken, orgID, orgPoolID, poolParams) |
| 168 | suite.Require().NoError(err, "error updating organization pool") |
| 169 | return pool |
| 170 | } |
| 171 | |
| 172 | func (suite *GarmSuite) WaitOrgRunningIdleInstances(orgID string, timeout time.Duration) { |
| 173 | t := suite.T() |
no test coverage detected