How to prevent `Updating registry; Resolving package`, while running `Pkg> test`

I am developing some package. I run Pkg> test for testing purpose. However, every time it take some time to update registry, git-repo and resolving package versions. If I work without network, it even fails. Is there any way to prevent this?

Updating registry at `C:\Users\zhangly\.julia\registries\General`
Updating git-repo `https://github.com/JuliaRegistries/General.git`
Testing Hotspot
Resolving package versions...

https://github.com/JuliaLang/Pkg.jl/pull/1690 might fix this (will be in 1.4)

2 Likes