mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 10:22:23 +00:00
swarm: reduce test size for TestLocalStoreAndRetrieve
This commit is contained in:
parent
106749af54
commit
203fe7898a
1 changed files with 2 additions and 2 deletions
|
|
@ -316,11 +316,11 @@ func TestLocalStoreAndRetrieve(t *testing.T) {
|
|||
}
|
||||
|
||||
// by default, test only the lonely chunk cases
|
||||
sizes := []int{1, 60, 4097, 524288 + 1, 7*524288 + 1, 128*524288 + 1}
|
||||
sizes := []int{1, 60, 4097, 524288 + 1, 7*524288 + 1}
|
||||
|
||||
if *longrunning {
|
||||
// test broader set of cases if -longruning flag is set
|
||||
sizes = append(sizes, 83, 179, 253, 1024, 4095, 4096, 8191, 8192, 8193, 12287, 12288, 12289, 123456, 2345678, 67298391, 524288, 524288+4096, 524288+4097, 7*524288, 7*524288+4096, 7*524288+4097, 128*524288, 128*524288+4096, 128*524288+4097, 816778334)
|
||||
sizes = append(sizes, 83, 179, 253, 1024, 4095, 4096, 8191, 8192, 8193, 12287, 12288, 12289, 123456, 2345678, 67298391, 524288, 524288+4096, 524288+4097, 7*524288, 7*524288+4096, 7*524288+4097, 128*524288+1, 128*524288, 128*524288+4096, 128*524288+4097, 816778334)
|
||||
}
|
||||
for _, n := range sizes {
|
||||
testLocalStoreAndRetrieve(t, swarm, n, true)
|
||||
|
|
|
|||
Loading…
Reference in a new issue