Remove health check filter from Marathon tasks.
This commit is contained in:
parent
7d3dd5a0e4
commit
17e85e31cd
3 changed files with 0 additions and 58 deletions
|
@ -935,51 +935,6 @@ func TestTaskFilter(t *testing.T) {
|
|||
),
|
||||
expected: true,
|
||||
},
|
||||
{
|
||||
desc: "healthcheck available",
|
||||
task: task(taskPorts(80)),
|
||||
application: application(
|
||||
appPorts(80),
|
||||
healthChecks(marathon.NewDefaultHealthCheck()),
|
||||
),
|
||||
expected: true,
|
||||
},
|
||||
{
|
||||
desc: "healthcheck result false",
|
||||
task: task(
|
||||
taskPorts(80),
|
||||
healthCheckResultLiveness(false),
|
||||
),
|
||||
application: application(
|
||||
appPorts(80),
|
||||
healthChecks(marathon.NewDefaultHealthCheck()),
|
||||
),
|
||||
expected: false,
|
||||
},
|
||||
{
|
||||
desc: "healthcheck results mixed",
|
||||
task: task(
|
||||
taskPorts(80),
|
||||
healthCheckResultLiveness(true, false),
|
||||
),
|
||||
application: application(
|
||||
appPorts(80),
|
||||
healthChecks(marathon.NewDefaultHealthCheck()),
|
||||
),
|
||||
expected: false,
|
||||
},
|
||||
{
|
||||
desc: "healthcheck result true",
|
||||
task: task(
|
||||
taskPorts(80),
|
||||
healthCheckResultLiveness(true),
|
||||
),
|
||||
application: application(
|
||||
appPorts(80),
|
||||
healthChecks(marathon.NewDefaultHealthCheck()),
|
||||
),
|
||||
expected: true,
|
||||
},
|
||||
{
|
||||
desc: "readiness check false",
|
||||
task: task(taskPorts(80)),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue