Calling of build phase?

A test extends a base test

both the test and the base test have a task reset_phase(uvm_phase phase)

  1. base test is starting reset_sequence_1 in reset phase
  2. main test extending base test is starting reset_sequence_2 in reset phase

after the main test is complete- which reset sequence has taken effect?

Are we allowed to have same phase( reset_phase in this example) in main test and the base test? How would the compile resolve sequence starts in such a scenario?