From 6e34de17f3288a24a245d4a6ec371c68cdb420d8 Mon Sep 17 00:00:00 2001 From: Lucas Clemente Date: Thu, 4 Aug 2016 22:24:23 +0200 Subject: [PATCH] increase integration test data to 500 kB fixes #251 --- integrationtests/drop_test.go | 2 +- integrationtests/integration_test.go | 2 +- integrationtests/integrationtests_suite_test.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/integrationtests/drop_test.go b/integrationtests/drop_test.go index 6a2870470..5935962eb 100644 --- a/integrationtests/drop_test.go +++ b/integrationtests/drop_test.go @@ -46,7 +46,7 @@ var _ = Describe("Drop Proxy", func() { session, err := Start(command, GinkgoWriter, GinkgoWriter) Expect(err).NotTo(HaveOccurred()) defer session.Kill() - Eventually(session, 4).Should(Exit(0)) + Eventually(session, 20).Should(Exit(0)) Expect(bytes.Contains(session.Out.Contents(), data)).To(BeTrue()) } diff --git a/integrationtests/integration_test.go b/integrationtests/integration_test.go index 6a8c1d704..fa9d45ca7 100644 --- a/integrationtests/integration_test.go +++ b/integrationtests/integration_test.go @@ -93,7 +93,7 @@ var _ = Describe("Integration tests", func() { session, err := Start(command, nil, GinkgoWriter) Expect(err).NotTo(HaveOccurred()) defer session.Kill() - Eventually(session, 3).Should(Exit(0)) + Eventually(session, 10).Should(Exit(0)) Expect(bytes.Contains(session.Out.Contents(), data)).To(BeTrue()) }() } diff --git a/integrationtests/integrationtests_suite_test.go b/integrationtests/integrationtests_suite_test.go index bb2644536..a84529677 100644 --- a/integrationtests/integrationtests_suite_test.go +++ b/integrationtests/integrationtests_suite_test.go @@ -27,7 +27,7 @@ import ( ) const ( - dataLen = 50 * 1024 + dataLen = 500 * 1024 ) var (