Is it correct to say "The exam will not have finished until 2 o'clock." or it should have been "by 2 o'clock"