Skip to content

feat(ci) : Add e2e test for loadbalancer #3

feat(ci) : Add e2e test for loadbalancer

feat(ci) : Add e2e test for loadbalancer #3

name: E2E Test for LoadBalancer
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: set up testserver
run: |
cd testserver
make re
- name: Check the 8081
uses: jtalk/url-health-check-action@v3
with:
url: http://localhost:8081
- name: set up loadbalancer
run: |
make run
- name: Sleep for 3 seconds
run: sleep 3s
shell: bash
- name: Check the 8080
uses: jtalk/url-health-check-action@v3
with:
url: http://localhost:8080