When shooting an enderman with a potion tipped arrow, he will teleport away to evade the arrow. However, the potion effect of the arrow will still be applied to the enderman. This might be an intended feature but I think it's more likely to be a bug.
Linked issues
Comments 1

Duplicate of MC-83051