Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(81)

Issue 125860043: code review 125860043: go.crypto/ssh/test: skip tests during -short mode (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
9 years, 9 months ago by dave
Modified:
9 years, 9 months ago
Reviewers:
adg, minux
CC:
adg, agl1, hanwen-google, golang-codereviews
Visibility:
Public.

Description

go.crypto/ssh/test: skip tests during -short mode This proposal effectively disables all the ssh/test tests when run with the -short flag supplied. For developers and users of this package, there should be no change unless they are in the habbit of always supplying -short, which I belive is untrue. For the CI dashboard the effect should be that these tests, which are really not portable enough to run reliably on all our various builders, are disabled.

Patch Set 1 #

Patch Set 2 : diff -r 2a61df2221b6 https://code.google.com/p/go.crypto #

Patch Set 3 : diff -r 2a61df2221b6 https://code.google.com/p/go.crypto #

Patch Set 4 : diff -r 2a61df2221b6 https://code.google.com/p/go.crypto #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -0 lines) Patch
M ssh/test/test_unix_test.go View 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 7
dave_cheney.net
Hello adg@golang.org (cc: golang-codereviews@googlegroups.com), I'd like you to review this change to https://code.google.com/p/go.crypto
9 years, 9 months ago (2014-08-08 00:49:13 UTC) #1
dave_cheney.net
As a little background to this change. I added the ssh/test sub directory as an ...
9 years, 9 months ago (2014-08-08 00:56:33 UTC) #2
adg
LGTM
9 years, 9 months ago (2014-08-08 01:04:51 UTC) #3
dave_cheney.net
*** Submitted as https://code.google.com/p/go/source/detail?r=41cd4647fccc&repo=crypto *** go.crypto/ssh/test: skip tests during -short mode This proposal effectively disables ...
9 years, 9 months ago (2014-08-08 01:42:54 UTC) #4
minux
Will this fix https://code.google.com/p/go/issues/detail?id=8489? On Thu, Aug 7, 2014 at 8:56 PM, <dave@cheney.net> wrote: > ...
9 years, 9 months ago (2014-08-08 01:45:04 UTC) #5
dave_cheney.net
That issue was one impetus for this change, but I'd like to do better for ...
9 years, 9 months ago (2014-08-08 01:52:08 UTC) #6
hanwen-google
9 years, 9 months ago (2014-08-08 08:07:47 UTC) #7
thanks for taking care of this. SSH has slipped off my radar of late.

On Fri, Aug 8, 2014 at 3:52 AM, Dave Cheney <dave@cheney.net> wrote:
> That issue was one impetus for this change, but I'd like to do better for
> people who run the tests manually.
>
>
>
> On 8 Aug 2014, at 11:44, minux <minux@golang.org> wrote:
>
> Will this fix https://code.google.com/p/go/issues/detail?id=8489?
>
>
> On Thu, Aug 7, 2014 at 8:56 PM, <dave@cheney.net> wrote:
>>
>> As a little background to this change.
>>
>> I added the ssh/test sub directory as an attempt at doing integration
>> testing of the ssh package against a real world ssh server. The goal was
>> to isolate unit test failures in the ssh package, from integration
>> failures, and to some extent this goal was achieved; you could run go
>> test code.google.com/p/go.crypto/ssh/... and see that the ssh package
>> worked, but there was a potential integration issue with your system
>> sshd if ssh/test failed.
>>
>> However, in the wider context of this package's tests being run on all
>> our CI builders, where the entire subrepo is judged on a binary pass or
>> fail basis, I've come to believe that adding this package was a mistake.
>> Because of that I feel embarrassed that the go.crypto subrepo is always
>> the most flaky and I have not invested the time in tracking down and
>> resolving each compatibility issue.
>>
>> With that said, it is my feeling that CI builders should not be expected
>> to provide a particularly rich environment for builds to run in. I cite
>> the recent decision not to install git on the freebsd builders to fix an
>> issue in the go.blog repo.
>>
>> So in that context the simplest solution would be to not run the
>> ssh/test integration tests during CI, and this proposal does just that.
>>
>> https://codereview.appspot.com/125860043/
>>
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "golang-codereviews" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to golang-codereviews+unsubscribe@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>
>



-- 
Han-Wen Nienhuys
Google Munich
hanwen@google.com
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b