Skip to content

Commit

Permalink
builds
Browse files Browse the repository at this point in the history
  • Loading branch information
rauljordan committed Dec 6, 2024
1 parent d372f30 commit a64cb81
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions system_tests/overflow_assertions_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,10 @@ func TestOverflowAssertions(t *testing.T) {
// Start the challenge manager with a minimumAssertionPeriod of 7 and make
// sure that it posts overflow-assertions right away instead of waiting for
// the 7 blocks to pass.
Require(t, os.RemoveAll("/tmp/good"))
goodDir, err := os.MkdirTemp("", "good_*")
Require(t, err)
t.Cleanup(func() {
Require(t, os.RemoveAll("/tmp/good"))
Require(t, os.RemoveAll(goodDir))
})
ctx, cancelCtx := context.WithCancel(context.Background())
defer cancelCtx()
Expand Down Expand Up @@ -125,9 +126,10 @@ func TestOverflowAssertions(t *testing.T) {
l2stateprovider.Height(blockChallengeLeafHeight),
&bold.StateProviderConfig{
ValidatorName: "good",
MachineLeavesCachePath: "/tmp/good",
MachineLeavesCachePath: goodDir,
CheckBatchFinality: false,
},
goodDir,
)
Require(t, err)

Expand Down

0 comments on commit a64cb81

Please sign in to comment.