mirror of
https://github.com/psviderski/uncloud.git
synced 2026-08-28 12:03:33 +00:00
fix: another attempt to fix flaky test container_crashes_on_startup_without_healthcheck
This commit is contained in:
@@ -1414,7 +1414,7 @@ myapp.example.com {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
monitorPeriod := 2 * time.Second
|
monitorPeriod := 3 * time.Second
|
||||||
spec := api.ServiceSpec{
|
spec := api.ServiceSpec{
|
||||||
Name: name,
|
Name: name,
|
||||||
Mode: api.ServiceModeReplicated,
|
Mode: api.ServiceModeReplicated,
|
||||||
@@ -1455,7 +1455,7 @@ myapp.example.com {
|
|||||||
})
|
})
|
||||||
|
|
||||||
// 1 second is sometimes not enough for Docker to detect the crash and start restarting the container.
|
// 1 second is sometimes not enough for Docker to detect the crash and start restarting the container.
|
||||||
monitorPeriod := 2 * time.Second
|
monitorPeriod := 3 * time.Second
|
||||||
spec := api.ServiceSpec{
|
spec := api.ServiceSpec{
|
||||||
Name: name,
|
Name: name,
|
||||||
Mode: api.ServiceModeReplicated,
|
Mode: api.ServiceModeReplicated,
|
||||||
|
|||||||
Reference in New Issue
Block a user