On 27 May Egypt canceled a planned attack on Israel at the last minute, and on May 30, Jordan and Egypt signed a defense pact. The following day, at Jordan's invitation, the Iraqi army began deploying troops and armored units in Jordan. Any military analyst should have recognized that the arrival of large numbers of Arab troops and Iraqi planes in Jordan would inevitably make Israel anxious to swiftly act against Jordan before these new forces were fully deployed. Israel continued to prepare for war.