Skip to content

Commit

Permalink
Clarify func name
Browse files Browse the repository at this point in the history
  • Loading branch information
Jordan Olshevski committed Dec 13, 2023
1 parent 217ba72 commit 5e4a8de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/controllers/reconciliation/integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ func TestCRUD(t *testing.T) {
}

t.Run("update", func(t *testing.T) {
setSynImage(t, upstream, syn, comp, "update")
setImage(t, upstream, syn, comp, "update")

var obj client.Object
testutil.Eventually(t, func() bool {
Expand Down Expand Up @@ -245,7 +245,7 @@ func (c *crudTestCase) Get(downstream client.Client) (client.Object, error) {
return obj, downstream.Get(context.Background(), client.ObjectKeyFromObject(obj), obj)
}

func setSynImage(t *testing.T, upstream client.Client, syn *apiv1.Synthesizer, comp *apiv1.Composition, image string) {
func setImage(t *testing.T, upstream client.Client, syn *apiv1.Synthesizer, comp *apiv1.Composition, image string) {
err := retry.RetryOnConflict(retry.DefaultBackoff, func() error {
if err := upstream.Get(context.Background(), client.ObjectKeyFromObject(syn), syn); err != nil {
return err
Expand Down

0 comments on commit 5e4a8de

Please sign in to comment.