Skip to content

Commit

Permalink
label specs that rely on remote access; bump timeout on short-circuit…
Browse files Browse the repository at this point in the history
… test to make it less flaky
  • Loading branch information
onsi committed Aug 31, 2022
1 parent 55d895b commit 35eeadf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions gexec/build_test.go
Expand Up @@ -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() {
Expand Down Expand Up @@ -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() {
Expand Down Expand Up @@ -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() {
Expand Down
2 changes: 1 addition & 1 deletion gexec/session_test.go
Expand Up @@ -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))
})
})
Expand Down

0 comments on commit 35eeadf

Please sign in to comment.