github.com/pyroscope-io/pyroscope@v0.37.3-0.20230725203016-5f6947968bd0/pkg/storage/storage_suite_test.go (about)

     1  package storage_test
     2  
     3  import (
     4  	"testing"
     5  	"time"
     6  
     7  	. "github.com/onsi/ginkgo/v2"
     8  	"github.com/onsi/ginkgo/v2/types"
     9  	. "github.com/onsi/gomega"
    10  	testutils "github.com/pyroscope-io/pyroscope/pkg/testing"
    11  )
    12  
    13  func TestStorage(t *testing.T) {
    14  	testutils.SetupLogging()
    15  
    16  	RegisterFailHandler(Fail)
    17  	RunSpecs(t, "Storage Suite", types.ReporterConfig{
    18  		SlowSpecThreshold: 60 * time.Second,
    19  	})
    20  }