Skip to content

Commit

Permalink
separate integration tests on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
kroggen committed Oct 16, 2023
1 parent 6f6c90e commit ef08e06
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 22 deletions.
18 changes: 11 additions & 7 deletions .github/workflows/full_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,14 @@ jobs:
if: github.event_name != 'push' || github.ref_name != 'master' || github.ref_type != 'branch'
run: go test -timeout 999s -v ./...

- name: Integration Tests
run: |
cd tests
./run_tests.sh brick
./run_tests.sh sbp
./run_tests.sh dpos
./run_tests.sh raft
- name: Integration Tests - brick
run: cd tests && ./run_tests.sh brick

- name: Integration Tests - sbp
run: cd tests && ./run_tests.sh sbp

- name: Integration Tests - dpos
run: cd tests && ./run_tests.sh dpos

- name: Integration Tests - raft
run: cd tests && ./run_tests.sh raft
3 changes: 0 additions & 3 deletions tests/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,6 @@ stop_nodes() {
kill $pid
else
kill $pid1 $pid2 $pid3
#kill $pid1
#kill $pid2
#kill $pid3
fi

}
Expand Down
5 changes: 1 addition & 4 deletions tests/config-node1.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
# aergo TOML Configuration File (https://github.com/toml-lang/toml)
# base configurations
#datadir = "./data"
enableprofile = true
profileport = 6060
enableprofile = false

[rpc]
netserviceaddr = "0.0.0.0"
Expand Down Expand Up @@ -36,7 +34,6 @@ maxblocksize = 1000000

[mempool]
showmetrics = false
#dumpfilepath ="./data1/mempool.dump"

[consensus]
enablebp = true
Expand Down
5 changes: 1 addition & 4 deletions tests/config-node2.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
# aergo TOML Configuration File (https://github.com/toml-lang/toml)
# base configurations
#datadir = "./data"
enableprofile = true
profileport = 6060
enableprofile = false

[rpc]
netserviceaddr = "0.0.0.0"
Expand Down Expand Up @@ -36,7 +34,6 @@ maxblocksize = 1000000

[mempool]
showmetrics = false
#dumpfilepath ="./data1/mempool.dump"

[consensus]
enablebp = true
Expand Down
5 changes: 1 addition & 4 deletions tests/config-node3.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
# aergo TOML Configuration File (https://github.com/toml-lang/toml)
# base configurations
#datadir = "./data"
enableprofile = true
profileport = 6060
enableprofile = false

[rpc]
netserviceaddr = "0.0.0.0"
Expand Down Expand Up @@ -36,7 +34,6 @@ maxblocksize = 1000000

[mempool]
showmetrics = false
#dumpfilepath ="./data1/mempool.dump"

[consensus]
enablebp = true
Expand Down

0 comments on commit ef08e06

Please sign in to comment.