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 27, 2023
1 parent 3f3da35 commit 4f572a2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
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
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 4f572a2

Please sign in to comment.