The two engines in the hangar side-by-side are probably having some ancillaries swapped over.
At based you would have what is called a 'QEC kit' (quick-engine change) which is basically a duplicate set of ancillaries which will be fitted onto the space engine while the broken engine is being removed., thus saving a few minutes.