MCPcopy
hub / github.com/apache/devlake / SetPipelineTimeout

Method SetPipelineTimeout

backend/test/helper/client.go:196–198  ·  view source on GitHub ↗

SetTimeout override the timeout of pipeline run success expectation

(timeout time.Duration)

Source from the content-addressed store, hash-verified

194
195// SetTimeout override the timeout of pipeline run success expectation
196func (d *DevlakeClient) SetPipelineTimeout(timeout time.Duration) {
197 d.pipelineTimeout = timeout
198}
199
200// SetExpectedStatusCode override the expected status code of the next API call. If it's anything but this, the test will fail.
201func (d *DevlakeClient) SetExpectedStatusCode(code int) *DevlakeClient {

Callers 4

TestTestmoPluginFunction · 0.80
TestPagerDutyPluginFunction · 0.80
TestAzureFunction · 0.80
ConnectLocalServerFunction · 0.80

Calls

no outgoing calls

Tested by 3

TestTestmoPluginFunction · 0.64
TestPagerDutyPluginFunction · 0.64
TestAzureFunction · 0.64