-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update test to be inclusive for distributed nodes as well, service ur…
…l validation, improve document loading and storing
- Loading branch information
Showing
16 changed files
with
182 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,22 +36,47 @@ jobs: | |
dgate-cli --version | ||
go install github.com/dgate-io/dgate/cmd/dgate-server | ||
dgate-server --version | ||
- run: go run cmd/dgate-server/main.go & | ||
|
||
- name: Wait for server to start | ||
run: sleep 5 | ||
- name: Install jq | ||
run: | | ||
sudo apt install -y jq | ||
jq --version | ||
- name: Functional Tests | ||
- name: Install goreman | ||
run: | | ||
go get 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 & | ||
- name: Wait for server to start | ||
run: sleep 5 | ||
|
||
- name: Functional Standalone Tests | ||
run: | | ||
for i in functional-tests/admin_tests/*.sh; \ | ||
do bash -c $i; done | ||
- name: Functional Distributed Tests [Node 1] | ||
run: | | ||
export ADMIN_URL=http://localhost:9081 | ||
export PROXY_URL=http://localhost:81 | ||
export TEST_URL=http://localhost:8081 | ||
for i in functional-tests/admin_tests/*.sh; \ | ||
do bash -c $i; done | ||
- name: Functional Distributed Tests [Node 2] | ||
run: | | ||
export ADMIN_URL=http://localhost:9083 | ||
export PROXY_URL=http://localhost:83 | ||
export TEST_URL=http://localhost:8083 | ||
for i in functional-tests/admin_tests/*.sh; \ | ||
do bash -c $i; done | ||
- name: Run local k6 test | ||
uses: grafana/[email protected] | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.