Skip to content

Commit

Permalink
f_mu: fix tests after publisher relocation
Browse files Browse the repository at this point in the history
  • Loading branch information
javierbrk committed Sep 13, 2024
1 parent 937c645 commit 26fc404
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/lime-mesh-upgrade/tests/test_lime-mesh-upgrade.lua
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ describe('LiMe mesh upgrade', function()
status = lime_mesh_upgrade.get_node_status()
assert.is.equal(status.upgrade_state, lime_mesh_upgrade.upgrade_states.ABORTED)
assert.stub.spy(utils.execute_daemonized).was.called.with("sleep 30; \
/etc/shared-state/publishers/shared-state-publish_mesh_wide_upgrade && shared-state-async sync mesh_wide_upgrade")
/usr/share/shared-state/publishers/shared-state-publish_mesh_wide_upgrade && shared-state-async sync mesh_wide_upgrade")
end)

it('test set upgrade info and fail NO_LATEST_AVAILABLE', function()
Expand Down Expand Up @@ -409,8 +409,8 @@ describe('LiMe mesh upgrade', function()
status = lime_mesh_upgrade.get_node_status()

assert.stub.spy(utils.execute_daemonized).was.called.with(
"sleep 1; \
/etc/shared-state/publishers/shared-state-publish_mesh_wide_upgrade && shared-state-async sync mesh_wide_upgrade")
"sleep 30; \
/usr/share/shared-state/publishers/shared-state-publish_mesh_wide_upgrade && shared-state-async sync mesh_wide_upgrade")

assert.is.equal(lime_mesh_upgrade.su_confirm_timeout, 600)
assert.is.equal(status.su_start_time_out, 60)
Expand Down

0 comments on commit 26fc404

Please sign in to comment.