Keep in mind that the reinforcements you receive from an ally will die if the base is attacked. In case of an attack, your Units will fill the hospitals and then the rest of the remaining units (both your own and ones reinforced) will die.