Skip to content

Commit 35eeadf

Browse files
committed
label specs that rely on remote access; bump timeout on short-circuit test to make it less flaky
1 parent 55d895b commit 35eeadf

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

gexec/build_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ var _ = Describe(".BuildIn", func() {
131131
})
132132

133133
var _ = Describe(".CompileTest", func() {
134-
Context("a remote package", func() {
134+
Context("a remote package", Label("network"), func() {
135135
const remotePackage = "github.com/onsi/ginkgo/types"
136136

137137
It("compiles the specified test package", func() {
@@ -199,7 +199,7 @@ var _ = Describe(".CompileTestWithEnvironment", func() {
199199
"GOARCH=amd64",
200200
}
201201

202-
Context("a remote package", func() {
202+
Context("a remote package", Label("network"), func() {
203203
const remotePackage = "github.com/onsi/ginkgo/types"
204204

205205
It("compiles the specified test package with the specified env vars", func() {
@@ -250,7 +250,7 @@ var _ = Describe(".CompiledTestIn", func() {
250250
}
251251
})
252252

253-
Context("a remote package", func() {
253+
Context("a remote package", Label("remote"), func() {
254254
const remotePackage = "github.com/onsi/ginkgo/types"
255255

256256
It("compiles the specified test package", func() {

gexec/session_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ var _ = Describe("Session", func() {
294294
failures := InterceptGomegaFailures(func() {
295295
Eventually(session).Should(Say("blah blah blah blah blah"))
296296
})
297-
Expect(time.Since(t)).Should(BeNumerically("<=", 500*time.Millisecond))
297+
Expect(time.Since(t)).Should(BeNumerically("<", time.Second))
298298
Expect(failures).Should(HaveLen(1))
299299
})
300300
})

0 commit comments

Comments
 (0)