Skip to content

Commit

Permalink
Add goroutine leak test to core/node/storage (#1624)
Browse files Browse the repository at this point in the history
  • Loading branch information
sergekh2 authored Nov 24, 2024
1 parent 4ccedc4 commit 4e6f078
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions core/node/storage/main_test.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
package storage

import (
"os"
"testing"

"github.com/river-build/river/core/node/crypto"
)

func TestMain(m *testing.M) {
c := m.Run()
if c != 0 {
os.Exit(c)
}

crypto.TestMainForLeaksIgnoreGeth()
}

0 comments on commit 4e6f078

Please sign in to comment.