1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-06-29 17:36:38 +08:00

test(integration)

It's now possible to produce the DHT issues without process
orchestration.

Test1KBInstantaneous fails

@jbenet @whyrusleeping
This commit is contained in:
Brian Tiger Chow
2014-12-24 09:24:38 -05:00
parent ad546f935a
commit 35f6ddb8fa

View File

@ -27,14 +27,16 @@ import (
const kSeed = 1 const kSeed = 1
func Test100MBInstantaneous(t *testing.T) { func Test1KBInstantaneous(t *testing.T) {
conf := Config{ conf := Config{
NetworkLatency: 0, NetworkLatency: 0,
RoutingLatency: 0, RoutingLatency: 0,
BlockstoreLatency: 0, BlockstoreLatency: 0,
} }
AddCatBytes(RandomBytes(100*1024*1024), conf) if err := AddCatBytes(RandomBytes(1*KB), conf); err != nil {
t.Fatal(err)
}
} }
func TestDegenerateSlowBlockstore(t *testing.T) { func TestDegenerateSlowBlockstore(t *testing.T) {