You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Roger Meier (JIRA)" <ji...@apache.org> on 2016/01/11 21:53:39 UTC

[jira] [Reopened] (THRIFT-3428) Go test fails when running make check

     [ https://issues.apache.org/jira/browse/THRIFT-3428?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Roger Meier reopened THRIFT-3428:
---------------------------------

The good thing, the issue is reproducable!
*clients starts to fast or server takes to long to start*

I added *time.Sleep* after startup of the servers and *make check* passes always now.

Dear go coders, is there a better way to fix this?

> Go test fails when running make check
> -------------------------------------
>
>                 Key: THRIFT-3428
>                 URL: https://issues.apache.org/jira/browse/THRIFT-3428
>             Project: Thrift
>          Issue Type: Bug
>          Components: Go - Library
>         Environment: Debian Jessie amd64
> go version go1.5.1 linux/amd64
>            Reporter: Roger Meier
>         Attachments: THRIFT-3428_go_test_fail_on_busy_machine.patch
>
>
> Is this a local roger problem?
> {noformat}
> make[3]: Leaving directory 'thrift-git/lib/go'
> Making check in test
> make[3]: Entering directory 'thrift-git/lib/go/test'
> GOPATH=`pwd`/gopath /usr/local/go/bin/go build \
> 			includestest \
> 			binarykeytest \
> 			servicestest \
> 			typedeffieldtest \
> 			refannotationfieldstest \
> 			errortest	\
> 			namestest \
> 			initialismstest \
> 			dontexportrwtest \
> 			ignoreinitialismstest
> GOPATH=`pwd`/gopath /usr/local/go/bin/go test thrift tests dontexportrwtest
> ok  	thrift	0.010s
> --- FAIL: TestInitClient1 (0.00s)
> 	multiplexed_protocol_test.go:83: Unable to open client socket dial tcp 127.0.0.1:56418: getsockopt: connection refused
> --- FAIL: TestCallFirst (0.00s)
> 	multiplexed_protocol_test.go:117: Unable to call first server: Connection not open
> Hi!
> FAIL
> FAIL	tests	0.065s
> ok  	dontexportrwtest	0.002s
> Makefile:658: recipe for target 'check' failed
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)