Skip to content

Commit

Permalink
Replace spec.engineImage with spec.image in volume
Browse files Browse the repository at this point in the history
Ref: longhorn/longhorn#6648

Signed-off-by: Roger Yao <[email protected]>
  • Loading branch information
roger-ryao authored and David Ko committed Nov 27, 2023
1 parent 2113c1d commit 9f31983
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions manager/integration/tests/test_ha.py
Original file line number Diff line number Diff line change
Expand Up @@ -2786,7 +2786,7 @@ def test_engine_image_not_fully_deployed_perform_engine_upgrade(client, core_api
# expected refCount: 1 for volume + 1 for engine and number of replicas(2)
expect_ref_count = 4
new_img_name = new_img.name
original_engine_image = volume1.engineImage
original_engine_image = volume1.image
volume1.engineUpgrade(image=engine_upgrade_image)
volume1 = wait_for_volume_current_image(client, volume1.name,
engine_upgrade_image)
Expand Down Expand Up @@ -2930,8 +2930,8 @@ def test_engine_image_not_fully_deployed_perform_auto_upgrade_engine(client, cor

volume1 = client.by_id_volume(volume1.name)
volume2 = client.by_id_volume(volume2.name)
assert volume1.engineImage == default_img.image
assert volume2.engineImage == default_img.image
assert volume1.image == default_img.image
assert volume2.image == default_img.image


def test_engine_image_not_fully_deployed_perform_dr_restoring_expanding_volume(client, core_api, set_random_backupstore): # NOQA
Expand Down

0 comments on commit 9f31983

Please sign in to comment.