Debian Codegraph @

ginkgo/performance/_fixtures/performance_fixture/performance_suite_test.go

raw symbols SCIP
1 package performance_test
2
3 import (
4 "fmt"
5 "testing"
6 "time"
7
8 . "github.com/onsi/ginkgo/v2"
9 . "github.com/onsi/gomega"
10 )
11
12 func TestPerformanceFixture(t *testing.T) {
13 RegisterFailHandler(Fail)
14 RunSpecs(t, "Performance Fixture Suite")
15 }
16
17 var _ = Describe("Performance Fixture", func() {
18 for i := 0; i < 10; i++ {
19 It(fmt.Sprintf("sleeps %d", i), func() {
20 time.Sleep(time.Millisecond * 10)
21 })
22 }
23 })