cluster-api-provider-vsphere icon indicating copy to clipboard operation
cluster-api-provider-vsphere copied to clipboard

Refactor method `findVM` in the `pkg/services/govmomi/util.go` file

Open srm09 opened this issue 3 years ago • 9 comments

/kind feature

Describe the solution you'd like Improve unit testing for pkg/services/govmomi/util.go This issue is a task for the broader issue: #1392

Individual tasks for this issue:

  • [ ] Break down findVM function to smaller functions findVMWithBiosUUID, findVMViaInventoryPath
  • [ ] Add unit tests for each of the broken down functions

Anything else you would like to add: n/a

/area testing /help /good-first-issue

srm09 avatar Feb 13 '22 02:02 srm09

@srm09: This request has been marked as suitable for new contributors.

Guidelines

Please ensure that the issue body includes answers to the following questions:

  • Why are we solving this issue?
  • To address this issue, are there any code changes? If there are code changes, what needs to be done in the code and what places can the assignee treat as reference points?
  • Does this issue have zero to low barrier of entry?
  • How can the assignee reach out to you for help?

For more details on the requirements of such an issue, please see here and ensure that they are met.

If this request no longer meets these requirements, the label can be removed by commenting with the /remove-good-first-issue command.

In response to this:

/kind feature

Describe the solution you'd like Improve unit testing for pkg/services/govmomi/util.go This issue is a task for the broader issue: #1392

Individual tasks for this issue:

  • [ ] Break down findVM function to smaller functions findVMWithBiosUUID, findVMViaInventoryPath`
  • [ ] Add unit tests for each of the broken down functions

Anything else you would like to add: n/a

/area testing /help /good-first-issue

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.

k8s-ci-robot avatar Feb 13 '22 02:02 k8s-ci-robot

I would love to try the issue out, could you please assign it to me?

yuktea avatar Feb 14 '22 11:02 yuktea

/assign @yuktea

geetikabatra avatar Feb 14 '22 11:02 geetikabatra

hi @yuktea are you working on this issue plz let us know, I would lile to assign it to myself, if you're not working on it. thank you.

Prateeknandle avatar Feb 21 '22 08:02 Prateeknandle

hi @yuktea are you working on this issue plz let us know, I would lile to assign it to myself, if you're not working on it. thank you.

yes, please go ahead, i was offline for a while

yuktea avatar Feb 22 '22 13:02 yuktea

@geetikabatra /assign

Prateeknandle avatar Feb 22 '22 13:02 Prateeknandle

/assign Prateeknandle

geetikabatra avatar Feb 23 '22 09:02 geetikabatra

/assign

ditsuke avatar May 06 '22 16:05 ditsuke

The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs.

This bot triages issues and PRs according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue or PR as fresh with /remove-lifecycle stale
  • Mark this issue or PR as rotten with /lifecycle rotten
  • Close this issue or PR with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

k8s-triage-robot avatar Aug 04 '22 17:08 k8s-triage-robot

The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.

This bot triages issues and PRs according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue or PR as fresh with /remove-lifecycle rotten
  • Close this issue or PR with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle rotten

k8s-triage-robot avatar Sep 03 '22 17:09 k8s-triage-robot

The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.

This bot triages issues according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Reopen this issue with /reopen
  • Mark this issue as fresh with /remove-lifecycle rotten
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/close not-planned

k8s-triage-robot avatar Oct 03 '22 18:10 k8s-triage-robot

@k8s-triage-robot: Closing this issue, marking it as "Not Planned".

In response to this:

The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.

This bot triages issues according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Reopen this issue with /reopen
  • Mark this issue as fresh with /remove-lifecycle rotten
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/close not-planned

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.

k8s-ci-robot avatar Oct 03 '22 18:10 k8s-ci-robot