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

Fix flaky e2e tests #516

Merged
merged 1 commit into from
Feb 19, 2019
Merged

Conversation

shashwathi
Copy link
Contributor

  • Refactor go e2e test TestTaskRunPipelineRunCancel to reduce flakiness.
  • Refactor yaml e2e test bash script. yaml script checks for both
    taskruns, pipelineruns to be in unknown status and then check results.

Fixes #511

i will trigger e2e test couple of times to check whether this change fixes it or not.

cc @bobcatfish

@googlebot googlebot added the cla: yes Trying to make the CLA bot happy with ppl from different companies work on one commit label Feb 17, 2019
@knative-prow-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: shashwathi

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

@knative-prow-robot knative-prow-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Feb 17, 2019
@shashwathi
Copy link
Contributor Author

/test pull-knative-build-pipeline-integration-tests

1 similar comment
@shashwathi
Copy link
Contributor Author

/test pull-knative-build-pipeline-integration-tests

- refactor go e2e test TestTaskRunPipelineRunCancel to reduce flakiness.
- refactor yaml e2e test bash script. yaml script checks for both
taskruns, pipelineruns to be in unknown status and then check results.
- taskrun `UpdateStatus` updates subresource status and cancel status
sets the status to empty object sometimes.

Fixes tektoncd#511
@shashwathi
Copy link
Contributor Author

/test pull-knative-build-pipeline-integration-tests

2 similar comments
@shashwathi
Copy link
Contributor Author

/test pull-knative-build-pipeline-integration-tests

@shashwathi
Copy link
Contributor Author

/test pull-knative-build-pipeline-integration-tests

@shashwathi
Copy link
Contributor Author

4 successful e2e test runs. I think the fix is in a good shape 👍

@bobcatfish it would be good get this in before release but not a blocker.

@nader-ziada
Copy link
Member

/lgtm

@knative-prow-robot knative-prow-robot added the lgtm Indicates that a PR is ready to be merged. label Feb 19, 2019
@knative-prow-robot knative-prow-robot merged commit 7e5bd73 into tektoncd:master Feb 19, 2019
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. cla: yes Trying to make the CLA bot happy with ppl from different companies work on one commit lgtm Indicates that a PR is ready to be merged. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix flaky e2e test TestTaskRunPipelineRunCancel
4 participants