HBASE-25065, we are having a test case failure with TestMasterRegionOnTwoFileSystems.
The reason is that we manually trigger a WAL roll on the master region. As part of the WAL roll we expect the Master region's WAL will also be moved from region oldWAL dir to the global oldWAL directory. This happens after afterRoll() method in AbstractWALRoller.
Since now the WAL archival is asynchronous the afterRoll() method does not find any WAL file to be moved in the local region oldWAL dir. So the movement to global oldWAL dir does not happen.
The test case checks for the file in the oldWAL dir and since it is not found the test timesout. WE need a way to fix this.