Skip to content

Commit

Permalink
tests: modify integration tests to include recheck interval
Browse files Browse the repository at this point in the history
Signed-off-by: sswastik02 <40518186+sswastik02@users.noreply.github.com>
  • Loading branch information
sswastik02 committed Jun 2, 2024
1 parent 0841614 commit bd77408
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,6 @@
path = "/health"
interval = "1s"
timeout = "0.9s"
recheck = "0.5s"
[[http.services.service1.loadBalancer.servers]]
url = "http://{{.Server1}}:80"
5 changes: 5 additions & 0 deletions integration/fixtures/healthcheck/propagate.toml
Original file line number Diff line number Diff line change
Expand Up @@ -84,34 +84,39 @@
path = "/health"
interval = "1s"
timeout = "0.9s"
recheck = "0.5s"
[[http.services.wsp1.loadBalancer.servers]]
url = "http://{{.Server1}}:80"
[http.services.wsp2.loadBalancer]
[http.services.wsp2.loadBalancer.healthcheck]
path = "/health"
interval = "1s"
timeout = "0.9s"
recheck = "0.5s"
[[http.services.wsp2.loadBalancer.servers]]
url = "http://{{.Server2}}:80"
[http.services.wsp3.loadBalancer]
[http.services.wsp3.loadBalancer.healthcheck]
path = "/health"
interval = "1s"
timeout = "0.9s"
recheck = "0.5s"
[[http.services.wsp3.loadBalancer.servers]]
url = "http://{{.Server3}}:80"
[http.services.wsp4.loadBalancer]
[http.services.wsp4.loadBalancer.healthcheck]
path = "/health"
interval = "1s"
timeout = "0.9s"
recheck = "0.5s"
[[http.services.wsp4.loadBalancer.servers]]
url = "http://{{.Server4}}:80"
[http.services.wsp12b.loadBalancer]
[http.services.wsp12b.loadBalancer.healthcheck]
path = "/health"
interval = "1s"
timeout = "0.9s"
recheck = "0.5s"
[[http.services.wsp12b.loadBalancer.servers]]
url = "http://{{.Server1}}:80"
[[http.services.wsp12b.loadBalancer.servers]]
Expand Down
1 change: 1 addition & 0 deletions integration/fixtures/healthcheck/simple.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
path = "/health"
interval = "1s"
timeout = "0.9s"
recheck = "0.5s"
[[http.services.service1.loadBalancer.servers]]
url = "http://{{.Server1}}:80"
[[http.services.service1.loadBalancer.servers]]
Expand Down

0 comments on commit bd77408

Please sign in to comment.