You're supposed to let IRCC know if you intend to take an extended leave of Canada so that they don't schedule you for the test or oath in that time frame. You'll need to make sure you're aware if IRCC makes any requests of you as well, such as additional documentation or to get fingerprinting.