Skip to content

Commit

Permalink
Another EVM test fix
Browse files Browse the repository at this point in the history
- added sleep to give time for full chain to be online before running tests
- cleaned up some docker file comments
  • Loading branch information
ezavada committed Oct 23, 2024
1 parent 9b90806 commit 045269e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 1 addition & 3 deletions evm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@ COPY rift rift
WORKDIR /go/src/app/evm
RUN go mod download

# Copy the rest of the source code and build the binary
#COPY scripts scripts

# build the binary
ENV PACKAGES="curl make git libc-dev bash gcc linux-headers eudev-dev python3"
RUN CGO_ENABLED=1 make install # Binary will be in /go/bin/world-evm

Expand Down
3 changes: 3 additions & 0 deletions makefiles/test.mk
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ e2e-evm:

@CARDINAL_ROLLUP_ENABLED=true docker compose up game nakama -d

# this solves a problem of the tests running too quickly, before the rest of the system is completely ready
@sleep 10

@go test -v ./e2e/tests/evm/evm_test.go
@docker compose rm --force --stop

Expand Down

0 comments on commit 045269e

Please sign in to comment.