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
Describe the bug
Tests should be self contained. I originally noticed this issue in app/regen/cmd/TestInitCmd() and addressed in in #285. But after clearing my go test cache realize that the problem still persists, and there are probably a number of CLI tests that expect (& create if doesn't exist) a config dir in $HOME.
We probably have to do some sleuthing around to find all tests that this applies to. I assume a similar problem exists on the SDK repo with ~/.simapp.
To Reproduce
Steps to reproduce the behavior:
rm -rf ~/.regen
make test
ls -l ~/.regen (returns a valid config dir)
Expected behavior make test should not interact with a user's local defaultNodeHome (e.g. ~/.regen), and should rather create TempDirs.
The text was updated successfully, but these errors were encountered:
Describe the bug
Tests should be self contained. I originally noticed this issue in
app/regen/cmd/TestInitCmd()
and addressed in in #285. But after clearing my go test cache realize that the problem still persists, and there are probably a number of CLI tests that expect (& create if doesn't exist) a config dir in $HOME.We probably have to do some sleuthing around to find all tests that this applies to. I assume a similar problem exists on the SDK repo with
~/.simapp
.To Reproduce
Steps to reproduce the behavior:
rm -rf ~/.regen
make test
ls -l ~/.regen
(returns a valid config dir)Expected behavior
make test
should not interact with a user's local defaultNodeHome (e.g.~/.regen
), and should rather create TempDirs.The text was updated successfully, but these errors were encountered: