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 d842197931
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 0 deletions

View File

@ -3996,6 +3996,10 @@ func TestNeedMetaAfterIndexReset(t *testing.T) {
} }
func TestCcCheckEncryption(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() w, fcfg, wCancel := tmpDefaultWrapper()
defer wCancel() defer wCancel()
m := setupModel(t, w) m := setupModel(t, w)

View File

@ -1361,6 +1361,10 @@ func TestRequestIndexSenderClusterConfigBeforeStart(t *testing.T) {
} }
func TestRequestReceiveEncryptedLocalNoSend(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() w, fcfg, wCancel := tmpDefaultWrapper()
defer wCancel() defer wCancel()
tfs := fcfg.Filesystem() tfs := fcfg.Filesystem()