I think it is unlikely that an ally will attack you. But if you get a message that the alliance has been broken you know what to expect soon.