kubevirt icon indicating copy to clipboard operation
kubevirt copied to clipboard

tests/operator/operator.go: Replace `Update()` with `Patch()`

Open orenc1 opened this issue 6 months ago • 3 comments

Replace Update() with Patch() operation in order to mitigate conflicts on updating the Kubevirt resource at the test VirtualMachineInstancesPerNode test case at tests/operator/operator.go

What this PR does

Before this PR:

After this PR:

Fixes # Jira-ticket: https://issues.redhat.com/browse/CNV-45287

Why we need it and why it was done in this way

The following tradeoffs were made:

The following alternatives were considered:

Links to places where the discussion took place:

Special notes for your reviewer

Checklist

This checklist is not enforcing, but it's a reminder of items that could be relevant to every PR. Approvers are expected to review this list.

Release note

replace `Update()` with `Patch()` for `test VirtualMachineInstancesPerNode`

orenc1 avatar Aug 18 '24 12:08 orenc1