increase integration test data to 500 kB

fixes #251
This commit is contained in:
Lucas Clemente
2016-08-04 22:24:23 +02:00
parent c3a672541a
commit 6e34de17f3
3 changed files with 3 additions and 3 deletions

View File

@@ -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())
}

View File

@@ -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())
}()
}

View File

@@ -27,7 +27,7 @@ import (
)
const (
dataLen = 50 * 1024
dataLen = 500 * 1024
)
var (