diff options
author | Jakob Unterwurzacher | 2019-04-08 20:34:24 +0200 |
---|---|---|
committer | Jakob Unterwurzacher | 2019-04-08 20:34:24 +0200 |
commit | 24036ab89f950be85aa306f5996a4ce218c48aab (patch) | |
tree | cba714f1484ca3bc9ecf19057f4d84f7fd489e68 /tests/matrix/matrix_test.go | |
parent | 8cad0e2f4f288482d3528c80fb64fc1e55f26e34 (diff) |
tests: speed up new tests a little
Before: ok github.com/rfjakob/gocryptfs/tests/matrix 18.560s
After: ok github.com/rfjakob/gocryptfs/tests/matrix 13.425s
Diffstat (limited to 'tests/matrix/matrix_test.go')
-rw-r--r-- | tests/matrix/matrix_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/matrix/matrix_test.go b/tests/matrix/matrix_test.go index 226dfd8..8e71e8f 100644 --- a/tests/matrix/matrix_test.go +++ b/tests/matrix/matrix_test.go @@ -151,7 +151,7 @@ func TestWrite10Tight(t *testing.T) { path := test_helpers.DefaultPlainDir + "/TestWrite10Tight" content := make([]byte, 10) buf := make([]byte, 100) - for i := 0; i < 1000; i++ { + for i := 0; i < 100; i++ { file, err := os.Create(path) if err != nil { t.Fatal(err) |