Skip to content
This repository was archived by the owner on Apr 20, 2026. It is now read-only.

wrap table driven tests in t.Run to allow running individual tests#17

Merged
yangkev merged 1 commit intorelease-1.14.10-lyftfrom
yangkev-make-tests-table-driven
Mar 31, 2020
Merged

wrap table driven tests in t.Run to allow running individual tests#17
yangkev merged 1 commit intorelease-1.14.10-lyftfrom
yangkev-make-tests-table-driven

Conversation

@yangkev
Copy link
Copy Markdown

@yangkev yangkev commented Mar 30, 2020

This makes debugging individual test cases much easier using:
go test -p 1 ./pkg/controller/cronjob -run TestSyncOne_Status/prev_ran_but_done,_is_time,_past_deadline -v

for example.

This makes debugging individual test cases much easier using:

go test -p 1 ./pkg/controller/cronjob -run TestSyncOne_Status/prev_ran_but_done,_is_time,_past_deadline -v

for example.
@yangkev
Copy link
Copy Markdown
Author

yangkev commented Mar 31, 2020

Upstream PR: kubernetes#89669

@vllry
Copy link
Copy Markdown

vllry commented Mar 31, 2020

/lgtm

@yangkev yangkev merged commit ea80f33 into release-1.14.10-lyft Mar 31, 2020
theatrus pushed a commit that referenced this pull request Apr 7, 2020
This makes debugging individual test cases much easier using:

go test -p 1 ./pkg/controller/cronjob -run TestSyncOne_Status/prev_ran_but_done,_is_time,_past_deadline -v

for example.
yangkev added a commit that referenced this pull request Apr 10, 2020
This makes debugging individual test cases much easier using:

go test -p 1 ./pkg/controller/cronjob -run TestSyncOne_Status/prev_ran_but_done,_is_time,_past_deadline -v

for example.
paulnivin pushed a commit that referenced this pull request Jun 30, 2020
This makes debugging individual test cases much easier using:

go test -p 1 ./pkg/controller/cronjob -run TestSyncOne_Status/prev_ran_but_done,_is_time,_past_deadline -v

for example.
scarlettperry pushed a commit that referenced this pull request Jul 15, 2020
This makes debugging individual test cases much easier using:

go test -p 1 ./pkg/controller/cronjob -run TestSyncOne_Status/prev_ran_but_done,_is_time,_past_deadline -v

for example.
scarlettperry pushed a commit that referenced this pull request Jul 20, 2020
This makes debugging individual test cases much easier using:

go test -p 1 ./pkg/controller/cronjob -run TestSyncOne_Status/prev_ran_but_done,_is_time,_past_deadline -v

for example.
paulnivin pushed a commit that referenced this pull request Aug 3, 2020
This makes debugging individual test cases much easier using:

go test -p 1 ./pkg/controller/cronjob -run TestSyncOne_Status/prev_ran_but_done,_is_time,_past_deadline -v

for example.
paulnivin pushed a commit that referenced this pull request Aug 24, 2020
This makes debugging individual test cases much easier using:

go test -p 1 ./pkg/controller/cronjob -run TestSyncOne_Status/prev_ran_but_done,_is_time,_past_deadline -v

for example.
paulnivin pushed a commit that referenced this pull request Sep 16, 2020
This makes debugging individual test cases much easier using:

go test -p 1 ./pkg/controller/cronjob -run TestSyncOne_Status/prev_ran_but_done,_is_time,_past_deadline -v

for example.
MHBauer pushed a commit that referenced this pull request Sep 3, 2021
This makes debugging individual test cases much easier using:

go test -p 1 ./pkg/controller/cronjob -run TestSyncOne_Status/prev_ran_but_done,_is_time,_past_deadline -v

for example.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants