diff --git a/gexec/build_test.go b/gexec/build_test.go index 09d06a5be..da3be94b0 100644 --- a/gexec/build_test.go +++ b/gexec/build_test.go @@ -131,7 +131,7 @@ var _ = Describe(".BuildIn", func() { }) var _ = Describe(".CompileTest", func() { - Context("a remote package", func() { + Context("a remote package", Label("network"), func() { const remotePackage = "github.com/onsi/ginkgo/types" It("compiles the specified test package", func() { @@ -199,7 +199,7 @@ var _ = Describe(".CompileTestWithEnvironment", func() { "GOARCH=amd64", } - Context("a remote package", func() { + Context("a remote package", Label("network"), func() { const remotePackage = "github.com/onsi/ginkgo/types" It("compiles the specified test package with the specified env vars", func() { @@ -250,7 +250,7 @@ var _ = Describe(".CompiledTestIn", func() { } }) - Context("a remote package", func() { + Context("a remote package", Label("remote"), func() { const remotePackage = "github.com/onsi/ginkgo/types" It("compiles the specified test package", func() { diff --git a/gexec/session_test.go b/gexec/session_test.go index d23c41674..be09e07d7 100644 --- a/gexec/session_test.go +++ b/gexec/session_test.go @@ -294,7 +294,7 @@ var _ = Describe("Session", func() { failures := InterceptGomegaFailures(func() { Eventually(session).Should(Say("blah blah blah blah blah")) }) - Expect(time.Since(t)).Should(BeNumerically("<=", 500*time.Millisecond)) + Expect(time.Since(t)).Should(BeNumerically("<", time.Second)) Expect(failures).Should(HaveLen(1)) }) })