Legal action will be taken against Mahi Dairy as they failed the sample test.