canonical / edgex-snap-testing

4 stars 2 forks source link

Make refresh tests work with local builds #131

Open farshidtz opened 2 years ago

farshidtz commented 2 years ago

Currently, the refresh tests only work with store downloads: https://github.com/canonical/edgex-snap-testing/blob/64fb180ef51184c04c8e4bec876bb7dab55ca900/test/utils/refresh.go#L13-L15

We can use snap install to upgrade to a local build. This will trigger the refresh hooks as when running snap refresh.