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

more RunCommand initialization verification for TestStartBuildRunFollowLogs #49

Conversation

gabemontero
Copy link
Member

Changes

Fixes #48

/kind bug

/assign @coreydaley
/assign @jkhelil

Submitter Checklist

  • [ /] Includes tests if functionality changed/was added
  • [ n/a] Includes docs if changes are user-facing
  • [ /] Set a kind label on this PR
  • [ /] Release notes block has been filled in, or marked NONE

See the contributor guide
for details on coding conventions, github and prow interactions, and the code review process.

Release Notes

NONE

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Sep 28, 2021

@gabemontero: GitHub didn't allow me to assign the following users: jkhelil.

Note that only shipwright-io members, repo collaborators and people who have commented on this issue/PR can be assigned. Additionally, issues/PRs can only have 10 assignees at the same time.
For more information please see the contributor guide

In response to this:

Changes

Fixes #48

/kind bug

/assign @coreydaley
/assign @jkhelil

Submitter Checklist

  • [ /] Includes tests if functionality changed/was added
  • [ n/a] Includes docs if changes are user-facing
  • [ /] Set a kind label on this PR
  • [ /] Release notes block has been filled in, or marked NONE

See the contributor guide
for details on coding conventions, github and prow interactions, and the code review process.

Release Notes

NONE

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@openshift-ci openshift-ci bot added release-note-none kind/bug Categorizes issue or PR as related to a bug. labels Sep 28, 2021
@gabemontero
Copy link
Member Author

/approve

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Sep 28, 2021

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: gabemontero

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Sep 28, 2021
@gabemontero gabemontero mentioned this pull request Sep 28, 2021
4 tasks
@gabemontero
Copy link
Member Author

passed once ... rerun again to hopefully see consistency

@gabemontero
Copy link
Member Author

passed again

/assign @otaviof

as well if he is interested

but I'll take an lgtm from anybody :-)

@@ -162,7 +162,9 @@ func TestStartBuildRunFollowLog(t *testing.T) {
// the init to occur.
cmd.watchLock.Lock()
err := wait.PollImmediate(1*time.Second, 3*time.Second, func() (done bool, err error) {
if cmd.pw != nil {
// check any of the vars on RunCommand that are used in onEvent and make ser they are set;
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
// check any of the vars on RunCommand that are used in onEvent and make ser they are set;
// check any of the vars on RunCommand that are used in onEvent and make sure they are set;

Copy link
Member Author

Choose a reason for hiding this comment

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

thanks

@gabemontero gabemontero force-pushed the more-build-run-unit-test-panics branch from d5e9da6 to 5f40421 Compare September 28, 2021 17:31
@gabemontero
Copy link
Member Author

spelling fix pushed @coreydaley thanks

@coreydaley
Copy link
Contributor

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Sep 28, 2021
@openshift-merge-robot openshift-merge-robot merged commit 14e977b into shipwright-io:main Sep 28, 2021
@gabemontero gabemontero deleted the more-build-run-unit-test-panics branch September 28, 2021 17:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. kind/bug Categorizes issue or PR as related to a bug. lgtm Indicates that a PR is ready to be merged. release-note-none
Projects
None yet
Development

Successfully merging this pull request may close these issues.

intermittent panics with TestStartBuildRunFollowLog
4 participants