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(cli): Test workflow retry with and without persistence. Fixes #2850 #2880

Conversation

markterm
Copy link
Contributor

Checklist:

  • Either (a) I've created an enhancement proposal and discussed it with the community, (b) this is a bug fix, or (c) this is a chore.
  • The title of the PR is (a) conventional, (b) states what changed, and (c) suffixes the related issues number. E.g. "fix(controller): Updates such and such. Fixes #1234".
  • I've signed the CLA.
  • I have written unit and/or e2e tests for my change. PRs without these are unlikely to be merged.
  • My builds are green. Try syncing with master if they are not.
  • My organization is added to USERS.md.

@markterm markterm changed the title Test workflow retry with and without persistence. Fixes #2850 fix(controller): Test workflow retry with and without persistence. Fixes #2850 Apr 29, 2020
@markterm markterm changed the title fix(controller): Test workflow retry with and without persistence. Fixes #2850 fix(cli): Test workflow retry with and without persistence. Fixes #2850 Apr 29, 2020
@markterm markterm force-pushed the test-workflow-retry-with-and-without-persistence branch from f3d2cfc to 7b67438 Compare May 1, 2020 00:40

func WorkflowRetryCommon(s fixtures.E2ESuite) {
Copy link
Member

Choose a reason for hiding this comment

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

Should we be putting all these in a cli_common.go file?

Copy link
Contributor

Choose a reason for hiding this comment

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

I don't like this. E2ESuite is an abstract base class and we shouldn't be passing it around like a normal variable.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think the cli_common.go is a good idea. @alexec do you have an alternate idea how to structure these common tests?

@markterm markterm force-pushed the test-workflow-retry-with-and-without-persistence branch 2 times, most recently from f5c1672 to c16dc5d Compare May 1, 2020 15:03
@sonarcloud
Copy link

sonarcloud bot commented May 1, 2020

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 0 Security Hotspots to review)
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@alexec
Copy link
Contributor

alexec commented Jun 8, 2020

This PR looks stale?

@alexec alexec added the stale label Jun 8, 2020
@markterm
Copy link
Contributor Author

markterm commented Jun 8, 2020

Yes, I think made moot by #2941 - I will close it.

@markterm markterm closed this Jun 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants