Skip to content

Commit

Permalink
fix e2e pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
bubbajoe committed Jun 19, 2024
1 parent 7614b51 commit da67815
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 8 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,12 @@ jobs:
- name: Install goreman
run: |
go get go install github.com/mattn/goreman@latest
go install github.com/mattn/goreman@latest
goreman version
- run: go run cmd/dgate-server/main.go &

- run: |
cd functional-tests/raft_tests
goreman start &
- run: cd functional-tests/raft_tests && goreman start &

- name: Wait for server to start
run: sleep 5
Expand Down
2 changes: 1 addition & 1 deletion functional-tests/admin_tests/iphash_load_balancer_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ dgate-cli -Vf module create \

dgate-cli -Vf service create \
name=base_svc \
urls:="$TEST_URL/a","$TEST_URL/b","$TEST_URL/c" \
urls="$TEST_URL/a","$TEST_URL/b","$TEST_URL/c" \
namespace=test-lb-ns

dgate-cli -Vf route create \
Expand Down
2 changes: 1 addition & 1 deletion functional-tests/admin_tests/modify_request_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ dgate-cli -Vf module create \

dgate-cli -Vf service create \
name=base_svc \
urls:="$TEST_URL" \
urls="$TEST_URL" \
namespace=modify_request_test-ns

dgate-cli -Vf route create \
Expand Down
2 changes: 1 addition & 1 deletion functional-tests/admin_tests/modify_response_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ dgate-cli -Vf module create \

dgate-cli -Vf service create \
name=base_svc \
urls:="$TEST_URL"\
urls="$TEST_URL"\
namespace=test-ns

dgate-cli -Vf route create \
Expand Down
2 changes: 1 addition & 1 deletion functional-tests/admin_tests/performance_test_prep.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ dgate-cli -Vf domain create \
namespace=test-ns1 priority:=100

dgate-cli -Vf service create \
name=test-svc urls:="$TEST_URL" \
name=test-svc urls="$TEST_URL" \
namespace=test-ns1 retries:=3 retryTimeout=50ms

MOD_B64="$(base64 < $DIR/performance_test_prep.ts)"
Expand Down

0 comments on commit da67815

Please sign in to comment.