diff options
author | Anton Evangelatov <anton.evangelatov@gmail.com> | 2018-10-09 17:45:42 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-09 17:45:42 +0800 |
commit | 0fe9a372b3ff9fd0746c3e271bd0ddddd3412122 (patch) | |
tree | 564456af329ea45a066ccf4c8d084c4fddcf645d /swarm/storage/ldbstore_test.go | |
parent | d5c7a6056afdc8c3364b1774b5d2bc4a74b028a6 (diff) | |
download | dexon-0fe9a372b3ff9fd0746c3e271bd0ddddd3412122.tar dexon-0fe9a372b3ff9fd0746c3e271bd0ddddd3412122.tar.gz dexon-0fe9a372b3ff9fd0746c3e271bd0ddddd3412122.tar.bz2 dexon-0fe9a372b3ff9fd0746c3e271bd0ddddd3412122.tar.lz dexon-0fe9a372b3ff9fd0746c3e271bd0ddddd3412122.tar.xz dexon-0fe9a372b3ff9fd0746c3e271bd0ddddd3412122.tar.zst dexon-0fe9a372b3ff9fd0746c3e271bd0ddddd3412122.zip |
swarm, swarm/storage: lower constants for faster tests (#17876)
* swarm/storage: lower constants for faster tests
* swarm: reduce test size for TestLocalStoreAndRetrieve
* swarm: reduce nodes for dec_inc_node_count
Diffstat (limited to 'swarm/storage/ldbstore_test.go')
-rw-r--r-- | swarm/storage/ldbstore_test.go | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/swarm/storage/ldbstore_test.go b/swarm/storage/ldbstore_test.go index 75b5d6aa9..14a42b5e3 100644 --- a/swarm/storage/ldbstore_test.go +++ b/swarm/storage/ldbstore_test.go @@ -111,12 +111,12 @@ func TestDbStoreCorrect_1(t *testing.T) { testDbStoreCorrect(1, 4096, false, t) } -func TestDbStoreRandom_5k(t *testing.T) { - testDbStoreRandom(5000, 0, false, t) +func TestDbStoreRandom_1k(t *testing.T) { + testDbStoreRandom(1000, 0, false, t) } -func TestDbStoreCorrect_5k(t *testing.T) { - testDbStoreCorrect(5000, 4096, false, t) +func TestDbStoreCorrect_1k(t *testing.T) { + testDbStoreCorrect(1000, 4096, false, t) } func TestMockDbStoreRandom_1(t *testing.T) { @@ -127,12 +127,12 @@ func TestMockDbStoreCorrect_1(t *testing.T) { testDbStoreCorrect(1, 4096, true, t) } -func TestMockDbStoreRandom_5k(t *testing.T) { - testDbStoreRandom(5000, 0, true, t) +func TestMockDbStoreRandom_1k(t *testing.T) { + testDbStoreRandom(1000, 0, true, t) } -func TestMockDbStoreCorrect_5k(t *testing.T) { - testDbStoreCorrect(5000, 4096, true, t) +func TestMockDbStoreCorrect_1k(t *testing.T) { + testDbStoreCorrect(1000, 4096, true, t) } func testDbStoreNotFound(t *testing.T, mock bool) { |