Skip to content
This repository has been archived by the owner on Aug 31, 2018. It is now read-only.

Timeout unit tests fail #144

Open
nim-nim opened this issue Oct 19, 2017 · 0 comments
Open

Timeout unit tests fail #144

nim-nim opened this issue Oct 19, 2017 · 0 comments

Comments

@nim-nim
Copy link

nim-nim commented Oct 19, 2017

3 tests failed:

  1. Connection timeouts Should connect timeout after a default of 1000 ms:
Expected
<time.Duration>: 240200

to be >=
<time.Duration>: 1000000000
/builddir/build/BUILD/goreq-b5b0f5eb2d16f20345cce0a544a75163579c0b00/_build/src/github.com/franela/goreq/goreq_test.go:42 +0x76
/usr/share/gocode/src/github.com/onsi/gomega/internal/assertion/assertion.go:69 +0x1ef
/usr/share/gocode/src/github.com/onsi/gomega/internal/assertion/assertion.go:27 +0xae
/builddir/build/BUILD/goreq-b5b0f5eb2d16f20345cce0a544a75163579c0b00/_build/src/github.com/franela/goreq/goreq_test.go:754 +0x34e
/usr/share/gocode/src/github.com/franela/goblin/goblin.go:216 +0x27
/usr/share/gocode/src/github.com/franela/goblin/goblin.go:216 +0x460
2) Connection timeouts Should connect timeout after a custom amount of time:

Expected
<time.Duration>: 157638

to be >=
<time.Duration>: 100000000
/builddir/build/BUILD/goreq-b5b0f5eb2d16f20345cce0a544a75163579c0b00/_build/src/github.com/franela/goreq/goreq_test.go:42 +0x76
/usr/share/gocode/src/github.com/onsi/gomega/internal/assertion/assertion.go:69 +0x1ef
/usr/share/gocode/src/github.com/onsi/gomega/internal/assertion/assertion.go:27 +0xae
/builddir/build/BUILD/goreq-b5b0f5eb2d16f20345cce0a544a75163579c0b00/_build/src/github.com/franela/goreq/goreq_test.go:765 +0x35c
/usr/share/gocode/src/github.com/franela/goblin/goblin.go:216 +0x27
/usr/share/gocode/src/github.com/franela/goblin/goblin.go:216 +0x460
3) Connection timeouts Should connect timeout after a custom amount of time even with method set:

Expected
<time.Duration>: 153784

to be >=
<time.Duration>: 100000000
/builddir/build/BUILD/goreq-b5b0f5eb2d16f20345cce0a544a75163579c0b00/_build/src/github.com/franela/goreq/goreq_test.go:42 +0x76
/usr/share/gocode/src/github.com/onsi/gomega/internal/assertion/assertion.go:69 +0x1ef
/usr/share/gocode/src/github.com/onsi/gomega/internal/assertion/assertion.go:27 +0xae
/builddir/build/BUILD/goreq-b5b0f5eb2d16f20345cce0a544a75163579c0b00/_build/src/github.com/franela/goreq/goreq_test.go:780 +0x3c2
/usr/share/gocode/src/github.com/franela/goblin/goblin.go:216 +0x27
/usr/share/gocode/src/github.com/franela/goblin/goblin.go:216 +0x460
--- FAIL: TestRequest (1.56s)

with:

golang-github-franela-goblin-devel.noarch 0.0.2-0.1.gitb962efd.fc28.llt
golang-github-onsi-gomega-devel.noarch 1.0-0.4.git2152b45.fc27
golang-googlecode-goprotobuf-devel.noarch 0-0.30.git24f28ae.fc28

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant