summaryrefslogtreecommitdiff
path: root/vendor/github.com/onsi/ginkgo/integration/_fixtures/debug_parallel_fixture/debug_parallel_fixture_test.go
blob: b609a8bca6211e7e7224f935943f003cb6ce6d8b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package debug_parallel_fixture_test

import (
	"fmt"
	"time"

	. "github.com/onsi/ginkgo"
)

var _ = Describe("DebugParallelFixture", func() {
	It("emits output to a file", func() {
		for i := 0; i < 10; i += 1 {
			fmt.Printf("StdOut %d\n", i)
			GinkgoWriter.Write([]byte(fmt.Sprintf("GinkgoWriter %d\n", i)))
		}
		time.Sleep(time.Second)
	})
})