From 35f6ddb8fa893e3cdd1d6888c67b1480ddcc5f45 Mon Sep 17 00:00:00 2001 From: Brian Tiger Chow Date: Wed, 24 Dec 2014 09:24:38 -0500 Subject: [PATCH] test(integration) It's now possible to produce the DHT issues without process orchestration. Test1KBInstantaneous fails @jbenet @whyrusleeping --- epictest/addcat_test.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/epictest/addcat_test.go b/epictest/addcat_test.go index 9b742d281..19bb0430a 100644 --- a/epictest/addcat_test.go +++ b/epictest/addcat_test.go @@ -27,14 +27,16 @@ import ( const kSeed = 1 -func Test100MBInstantaneous(t *testing.T) { +func Test1KBInstantaneous(t *testing.T) { conf := Config{ NetworkLatency: 0, RoutingLatency: 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) {