Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run Rancher tests cases in parallel. #2424

Merged
merged 3 commits into from
Nov 20, 2017

Conversation

ldez
Copy link
Contributor

@ldez ldez commented Nov 18, 2017

What does this PR do?

Run Rancher tests cases in parallel.

Motivation

Speed up tests.

More

  • Added/updated tests

@ldez ldez added kind/enhancement a new or improved feature. status/2-needs-review labels Nov 18, 2017
@ldez ldez added this to the 1.5 milestone Nov 18, 2017
@ldez ldez requested a review from a team as a code owner November 18, 2017 13:56
}
for _, test := range testCases {
test := test
t.Run("", func(t *testing.T) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we use a non-empty first parameter for the test description?

(It's missing elsewhere too.)

Copy link
Contributor Author

@ldez ldez Nov 18, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's hard to name tests that I didn't create. 😉

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How about using indices at least? It's far from ideal but better than nothing.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done!

Copy link
Contributor

@timoreimann timoreimann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. 👏

Copy link
Member

@mmatur mmatur left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@nmengin nmengin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@traefiker traefiker merged commit ab87bad into traefik:master Nov 20, 2017
@ldez ldez deleted the refactor/rancher-tests branch November 20, 2017 10:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants