Skip to content

Commit

Permalink
Fix the healthcheck integration test
Browse files Browse the repository at this point in the history
This PR traefik#1285 renamed
the URL member of types.HealthCheck to "Path", but it didn't
update the integration test.

I also added the Healthcheck test to the integration suite.
  • Loading branch information
mihaitodor committed Apr 26, 2017
1 parent 5a8215a commit d0f3b4a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion integration/fixtures/healthcheck/simple.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ logLevel = "DEBUG"
[backends]
[backends.backend1]
[backends.backend1.healthcheck]
url = "/health"
path = "/health"
interval = "1s"
[backends.backend1.servers.server1]
url = "http://{{.Server1}}:80"
Expand Down
1 change: 1 addition & 0 deletions integration/integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ func init() {
check.Suite(&EurekaSuite{})
check.Suite(&AcmeSuite{})
check.Suite(&DynamoDBSuite{})
check.Suite(&HealchCheckSuite{})
}

var traefikBinary = "../dist/traefik"
Expand Down

0 comments on commit d0f3b4a

Please sign in to comment.