PocketIC: Testing Canisters in Python 🐍

We are facing an issue with pocket_ic. In our scenario a user_index canister manages all canister for users. And when the upgrades run for user_index canister it also upgrades all the individual user canisters in post_upgrade. Previously we used to use state_machine to test this scenario and one call to tick command with advance_time used to upgrade user_index and all individual canisters. With the recent move to pocket_ic tick call is not upgrading all the canisters. Is there a way to determine how many tick calls would needed for the completed upgrade process.