There are far too many variables.
Diagnosis could be hours or 'next subject the B....... obvious' QEC could be a fully complete engine, only need a few simple components swapping, or a bare engine.
Could be pre tested or require power assurance runs.
A pre tested full QEC with a good crew, easy overnight task.
A routine engine change never requires a test flight.