Skip to content

Commit

Permalink
create group 7 and split e2e json rpc tests (0xPolygonHermez#1897)
Browse files Browse the repository at this point in the history
  • Loading branch information
tclemos authored Mar 21, 2023
1 parent fde26c2 commit 29e8cf3
Show file tree
Hide file tree
Showing 9 changed files with 472 additions and 433 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
matrix:
go-version: [ 1.18.x ]
goarch: [ "amd64" ]
e2e-group: [ 1, 2, 3, 4, 5, 6 ]
e2e-group: [ 1, 2, 3, 4, 5, 6, 7 ]
runs-on: ubuntu-latest
steps:
- name: Checkout code
Expand Down Expand Up @@ -59,7 +59,7 @@ jobs:
matrix:
go-version: [ 1.18.x ]
goarch: [ "amd64" ]
e2e-group: [ 1, 2, 3, 4, 5, 6 ]
e2e-group: [ 1, 2, 3, 4, 5, 6, 7 ]
runs-on: ubuntu-latest
steps:
- name: Fork based /ok-to-test checkout
Expand Down
1 change: 1 addition & 0 deletions ci/e2e-group4/jsonrpc1_test.go
1 change: 0 additions & 1 deletion ci/e2e-group4/jsonrpc_test.go

This file was deleted.

1 change: 1 addition & 0 deletions ci/e2e-group7/jsonrpc2_test.go
1 change: 1 addition & 0 deletions ci/e2e-group7/shared.go
10 changes: 10 additions & 0 deletions test/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,16 @@ test-e2e-group-6: stop ## Runs group 6 e2e tests checking race conditions
docker logs $(DOCKERCOMPOSEZKPROVER)
trap '$(STOP)' EXIT; MallocNanoZone=0 go test -count=1 -race -v -p 1 -timeout 600s ../ci/e2e-group6/...

.PHONY: test-e2e-group-7
test-e2e-group-7: stop ## Runs group 7 e2e tests checking race conditions
$(RUNSTATEDB)
$(RUNPOOLDB)
sleep 5
$(RUNZKPROVER)
docker ps -a
docker logs $(DOCKERCOMPOSEZKPROVER)
trap '$(STOP)' EXIT; MallocNanoZone=0 go test -count=1 -race -v -p 1 -timeout 600s ../ci/e2e-group7/...

.PHONY: benchmark-sequencer-eth-transfers
benchmark-sequencer-eth-transfers: stop
$(RUNL1NETWORK)
Expand Down
Loading

0 comments on commit 29e8cf3

Please sign in to comment.