integration: Reduce error logs to ease debugging
This commit is contained in:
parent
a93b2fdad4
commit
5f2b5327f7
|
|
@ -108,8 +108,8 @@ func SetupIntegrationTest(ctx2 context.Context) *testEnvironment {
|
||||||
RunnerImage: "example/runner:test",
|
RunnerImage: "example/runner:test",
|
||||||
DockerImage: "example/docker:test",
|
DockerImage: "example/docker:test",
|
||||||
Name: controllerName("runner"),
|
Name: controllerName("runner"),
|
||||||
RegistrationRecheckInterval: time.Millisecond,
|
RegistrationRecheckInterval: time.Millisecond * 100,
|
||||||
RegistrationRecheckJitter: time.Millisecond,
|
RegistrationRecheckJitter: time.Millisecond * 10,
|
||||||
UnregistrationTimeout: 1 * time.Second,
|
UnregistrationTimeout: 1 * time.Second,
|
||||||
UnregistrationRetryDelay: 1 * time.Second,
|
UnregistrationRetryDelay: 1 * time.Second,
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -162,6 +162,10 @@ func NewServer(opts ...Option) *httptest.Server {
|
||||||
},
|
},
|
||||||
|
|
||||||
// For RemoveRunner
|
// For RemoveRunner
|
||||||
|
"/repos/test/valid/actions/runners/0": &Handler{
|
||||||
|
Status: http.StatusNoContent,
|
||||||
|
Body: "",
|
||||||
|
},
|
||||||
"/repos/test/valid/actions/runners/1": &Handler{
|
"/repos/test/valid/actions/runners/1": &Handler{
|
||||||
Status: http.StatusNoContent,
|
Status: http.StatusNoContent,
|
||||||
Body: "",
|
Body: "",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue