Reg. OP's friend's issue.
-if mental torture is too much, then quit
-If you need the money, then dont quit
-If you get a job now, then quit, obviously notice period hangs in the balance
-If you dont get a job now, then quit, obviously you might end up sitting idle for a few months