dfinity / pocketic

A canister smart contract testing solution for the Internet Computer.
Other
22 stars 1 forks source link

CanisterInstallCodeRateLimited errors after upgrading from 1.0 #3

Closed ufoscout closed 11 months ago

ufoscout commented 12 months ago

After upgrading from 1.0 to 2.0 we are experiencing this error in our CI:

UserError(UserError { code: CanisterInstallCodeRateLimited, description: "Canister lxzze-o7777-77777-aaaaa-cai is rate limited because it executed too many instructions in the previous install_code messages. Please retry installation after several minutes." })

Is there a fix for it?

fxgst commented 12 months ago

See this comment on the Forum

ufoscout commented 11 months ago

Solved by applying the solution proposed in the Forum:

for _ in 0..100 {
    pocket_ic.tick();
}