Skip to content

Commit

Permalink
FVM flaky tests fix
Browse files Browse the repository at this point in the history
  • Loading branch information
janezpodhostnik committed Jul 25, 2023
1 parent b53dd43 commit 490800e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ go.work.sum

# Ledger checkpoint status files
**/checkpoint_status.json
**/export_report.json

# Local testing result files
tps-results*.json
6 changes: 0 additions & 6 deletions cmd/util/cmd/execution-state-extract/export_report.json

This file was deleted.

4 changes: 3 additions & 1 deletion engine/execution/computation/computer/computer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1261,6 +1261,8 @@ func Test_ExecutingSystemCollection(t *testing.T) {
me.On("SignFunc", mock.Anything, mock.Anything, mock.Anything).
Return(nil, nil)

constRandomSource := make([]byte, 32)

exe, err := computer.NewBlockComputer(
vm,
execCtx,
Expand All @@ -1271,7 +1273,7 @@ func Test_ExecutingSystemCollection(t *testing.T) {
me,
prov,
nil,
testutil.ProtocolStateWithSourceFixture(nil),
testutil.ProtocolStateWithSourceFixture(constRandomSource),
testMaxConcurrency)
require.NoError(t, err)

Expand Down

0 comments on commit 490800e

Please sign in to comment.