Skip to content

Commit

Permalink
Test with race detector (#280)
Browse files Browse the repository at this point in the history
* Test with race detector

* Increase test timeout
  • Loading branch information
estensen authored Jul 3, 2024
1 parent 1b29a88 commit 6a97aa9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ mocks: ## generates mocks
go generate ./...

tests: ## runs all tests
go test ./... -timeout=30s
go test -race ./... -timeout=1m

tests-cover: ## run all tests with test coverge
go test ./... -coverprofile=coverage.out -covermode=atomic -v -count=1
go test -race ./... -coverprofile=coverage.out -covermode=atomic -v -count=1
go tool cover -html=coverage.out -o coverage.html
open coverage.html

Expand Down Expand Up @@ -56,4 +56,4 @@ deploy-contracts-to-anvil-and-save-state: ##
./contracts/anvil/deploy-contracts-save-anvil-state.sh

start-anvil-with-contracts-deployed: ##
./contracts/anvil/start-anvil-chain-with-el-and-avs-deployed.sh
./contracts/anvil/start-anvil-chain-with-el-and-avs-deployed.sh

0 comments on commit 6a97aa9

Please sign in to comment.