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

**URL:** <https://discourse.julialang.org/t/how-to-prevent-updating-registry-resolving-package-while-running-pkg-test/34927>\
**Category:** General Usage\
**Tags:** question\
**Created:** [February 20, 2020, 5:56pm UTC](https://discourse.julialang.org/t/how-to-prevent-updating-registry-resolving-package-while-running-pkg-test/34927 "2020-02-20T17:56:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![zhangliye](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/zhangliye/32/3208_2.png) [@zhangliye](https://discourse.julialang.org/u/zhangliye)\
**Post date:** [February 20, 2020, 5:56pm UTC](https://discourse.julialang.org/t/how-to-prevent-updating-registry-resolving-package-while-running-pkg-test/34927/1 "2020-02-20T17:56:21Z")

</div>

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?

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

```

---

<div class="post-metadata">

**Author:** ![kristoffer.carlsson](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/kristoffer.carlsson/32/22_2.png) [@kristoffer.carlsson](https://discourse.julialang.org/u/kristoffer.carlsson)\
**Post date:** [February 20, 2020, 5:59pm UTC](https://discourse.julialang.org/t/how-to-prevent-updating-registry-resolving-package-while-running-pkg-test/34927/2 "2020-02-20T17:59:59Z")

</div>

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