Skip to content

Commit

Permalink
Fix test_longer_migration
Browse files Browse the repository at this point in the history
  • Loading branch information
jsangmeister committed Mar 19, 2024
1 parent 55032b0 commit 2820810
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/system/action/test_migration_route.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,10 @@ def test_longer_migration(self, execute_command: Mock) -> None:
execute_command.side_effect = self.wait_for_lock(wait_lock, indicator_lock)
response = self.migration_request("migrate")
self.assert_status_code(response, 200)
indicator_lock.acquire()
assert response.json["status"] == MigrationState.MIGRATION_RUNNING
assert response.json["output"] == "start\n"
indicator_lock.release()

indicator_lock.acquire()
response = self.migration_request("progress")
Expand Down

0 comments on commit 2820810

Please sign in to comment.