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",
|
||||
DockerImage: "example/docker:test",
|
||||
Name: controllerName("runner"),
|
||||
RegistrationRecheckInterval: time.Millisecond,
|
||||
RegistrationRecheckJitter: time.Millisecond,
|
||||
RegistrationRecheckInterval: time.Millisecond * 100,
|
||||
RegistrationRecheckJitter: time.Millisecond * 10,
|
||||
UnregistrationTimeout: 1 * time.Second,
|
||||
UnregistrationRetryDelay: 1 * time.Second,
|
||||
}
|
||||
|
|
|
|||
|
|
@ -162,6 +162,10 @@ func NewServer(opts ...Option) *httptest.Server {
|
|||
},
|
||||
|
||||
// For RemoveRunner
|
||||
"/repos/test/valid/actions/runners/0": &Handler{
|
||||
Status: http.StatusNoContent,
|
||||
Body: "",
|
||||
},
|
||||
"/repos/test/valid/actions/runners/1": &Handler{
|
||||
Status: http.StatusNoContent,
|
||||
Body: "",
|
||||
|
|
|
|||
Loading…
Reference in New Issue