Skip to content

Commit

Permalink
Run all the tests, do some cleanup, extend timeouts [#153997365]
Browse files Browse the repository at this point in the history
Signed-off-by: Jesse Alford <jalford@pivotal.io>
  • Loading branch information
mklanjsek authored and anEXPer committed Jan 3, 2018
1 parent 1ecfd21 commit 601ed0a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
10 changes: 9 additions & 1 deletion tests/acceptance_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,10 @@ var _ = Describe("Forwarding loglines to a TCP syslog drain", func() {
Cleanup()
Deploy("manifest.yml")
})
AfterEach(func() {
Cleanup()
})

TestSharedBehavior()
})

Expand All @@ -135,7 +139,11 @@ var _ = Describe("Forwarding loglines to a TCP syslog drain", func() {
Cleanup()
Deploy("manifests/tcp-blackbox.yml")
})
// TestSharedBehavior()
AfterEach(func() {
Cleanup()
})

TestSharedBehavior()
It("fowards messages of over 1KB", func() {
message := counterString(1025, "A")

Expand Down
2 changes: 1 addition & 1 deletion tests/tests_suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ func TestTests(t *testing.T) {
}

var _ = BeforeEach(func() {
SetDefaultEventuallyTimeout(2 * time.Minute)
SetDefaultEventuallyTimeout(3 * time.Minute)
SetDefaultEventuallyPollingInterval(time.Second)
SetDefaultConsistentlyDuration(time.Minute)
SetDefaultConsistentlyPollingInterval(time.Second)
Expand Down

0 comments on commit 601ed0a

Please sign in to comment.