1
0
Fork 0
mirror of https://github.com/restic/restic.git synced 2024-12-26 09:47:49 +00:00

Reduce data for TestIncrementalBackup

This commit is contained in:
Alexander Neumann 2018-03-11 21:17:27 +01:00
parent c6c1dccc53
commit dfb6d0fced

View file

@ -576,9 +576,9 @@ func TestBackupExclude(t *testing.T) {
} }
const ( const (
incrementalFirstWrite = 20 * 1042 * 1024 incrementalFirstWrite = 6 * 1042 * 1024
incrementalSecondWrite = 12 * 1042 * 1024 incrementalSecondWrite = 1 * 1042 * 1024
incrementalThirdWrite = 4 * 1042 * 1024 incrementalThirdWrite = 1 * 1042 * 1024
) )
func appendRandomData(filename string, bytes uint) error { func appendRandomData(filename string, bytes uint) error {