You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unless swap-move or overwrite-only upgrade strategies are used, the automatic tests executed in the simulator are configured to use two images of the same size for testing the upgrade and revert processes.
Indeed, the size of the images seems to be defined by this routine:
I agree it is a good thing to test the upgrade and revert processes with the largest possible images but I also think it important to that with two images having different sizes, since equally-sized images is very specific and uncommon scenario and testing only that scenario doesn't enable to detect issues such the one described by #2109, occurring only when the two images have not exactly the same size.
The text was updated successfully, but these errors were encountered:
Unless swap-move or overwrite-only upgrade strategies are used, the automatic tests executed in the simulator are configured to use two images of the same size for testing the upgrade and revert processes.
Indeed, the size of the images seems to be defined by this routine:
mcuboot/sim/src/image.rs
Lines 2295 to 2303 in f74b77c
I agree it is a good thing to test the upgrade and revert processes with the largest possible images but I also think it important to that with two images having different sizes, since equally-sized images is very specific and uncommon scenario and testing only that scenario doesn't enable to detect issues such the one described by #2109, occurring only when the two images have not exactly the same size.
The text was updated successfully, but these errors were encountered: