Skip to content

Commit

Permalink
Merge branch 'zkevm' into zkevm
Browse files Browse the repository at this point in the history
  • Loading branch information
cffls authored Jun 19, 2024
2 parents 0993187 + 2d2712a commit 68cb3b5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci_zkevm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
matrix:
os: [ ubuntu-20.04, macos-14 ] # list of os: https://github.com/actions/virtual-environments
runs-on: ${{ matrix.os }}
timeout-minutes: ${{ matrix.os == 'macos-14' && 40 || 30 }}

steps:
- uses: actions/checkout@v3
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -149,10 +149,10 @@ db-tools:

## test: run unit tests with a 100s timeout
test:
$(GOTEST) --timeout 100s
$(GOTEST) --timeout 200s

test3:
$(GOTEST) --timeout 100s -tags $(BUILD_TAGS),erigon3
$(GOTEST) --timeout 200s -tags $(BUILD_TAGS),erigon3

## test-integration: run integration tests with a 30m timeout
test-integration:
Expand Down
6 changes: 1 addition & 5 deletions zk/txpool/policy_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,7 @@ func newTestACLDB(tb testing.TB, dir string) kv.RwDB {
tb.Helper()

if dir == "" {
dir = fmt.Sprintf("/tmp/acl-db-temp_%v", time.Now().UTC().Format(time.RFC3339Nano))

if err := os.Mkdir(dir, 0775); err != nil {
tb.Fatal(err)
}
dir = tb.TempDir()
}

state, err := OpenACLDB(context.Background(), dir)
Expand Down

0 comments on commit 68cb3b5

Please sign in to comment.