lib/model: Disable tests involving scrypt with -short (fixes #7344) (#7346)

This commit is contained in:
Simon Frei
2021-02-08 17:13:28 +01:00
committed by GitHub
parent 4e7510dea9
commit d63db1c519
2 changed files with 8 additions and 0 deletions
+4
View File
@@ -3996,6 +3996,10 @@ func TestNeedMetaAfterIndexReset(t *testing.T) {
}
func TestCcCheckEncryption(t *testing.T) {
if testing.Short() {
t.Skip("skipping on short testing - generating encryption tokens is slow")
}
w, fcfg, wCancel := tmpDefaultWrapper()
defer wCancel()
m := setupModel(t, w)
+4
View File
@@ -1361,6 +1361,10 @@ func TestRequestIndexSenderClusterConfigBeforeStart(t *testing.T) {
}
func TestRequestReceiveEncryptedLocalNoSend(t *testing.T) {
if testing.Short() {
t.Skip("skipping on short testing - scrypt is too slow")
}
w, fcfg, wCancel := tmpDefaultWrapper()
defer wCancel()
tfs := fcfg.Filesystem()