Add --times to e2e.go

Make each test available for execution --times times. Acts like a
multi-deck shoe. (Otherwise this is easily scriptable outside the
e2e.go command).

Useful for "I want to walk away for a few hours leaving some end-to-ends
running", until we have more stress tests. Also useful for detecting
flakes.

Note that I didn't tackle reporting, which is still pretty rudimentary
for e2e.go. Now it looks like:

2014/12/08 15:32:58 Passed tests: [basic.sh basic.sh basic.sh certs.sh certs.sh certs.sh goe2e.sh goe2e.sh goe2e.sh guestbook.sh guestbook.sh guestbook.sh monitoring.sh monitoring.sh monitoring.sh pd.sh pd.sh pd.sh private.sh private.sh private.sh services.sh services.sh services.sh update.sh update.sh update.sh]
2014/12/08 15:32:58 Failed tests: []

Easy enough to post-process.
There is a grid plugin for TAP too, I'd like that to work as well.

Brendan
On Dec 10, 2014 8:49 AM, "Zach Loafman" <notifications@github.com> wrote:

> In hack/e2e.go
> <https://github.com/GoogleCloudPlatform/kubernetes/pull/2800#discussion-diff-21616432>
> :
>
> >  	}
> >
> > +	return
> > +}
> > +
> > +func PrintResults(results TestResults) bool {
>
> (FWIW, I am working on the TAP output.. not trying to punt that
> completely.)
> … <#14a351a9a00b4a5b_>
> On Tue, Dec 9, 2014, 16:31 Daniel Smith <notifications@github.com> wrote:
> In hack/e2e.go <
> https://github.com/GoogleCloudPlatform/kubernetes/pull/2800#discussion-diff-21575772>
> : > } > > + return > +} > + > +func PrintResults(results TestResults) bool
> { http://testanything.org/tap-specification.html I read it as just a
> number that counts up with every test emitted. What am I missing? — Reply
> to this email directly or view it on GitHub <
> https://github.com/GoogleCloudPlatform/kubernetes/pull/2800/files#r21575772>
> .
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/GoogleCloudPlatform/kubernetes/pull/2800/files#r21616432>
> .
>