From ec45587c131581f7ac2df32580357d661f3884f3 Mon Sep 17 00:00:00 2001 From: Vlad Date: Fri, 15 Mar 2019 14:25:34 +0400 Subject: [PATCH] swarm/pss: increased timeout --- swarm/pss/prox_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/swarm/pss/prox_test.go b/swarm/pss/prox_test.go index 57e94d230c..1c8538d50b 100644 --- a/swarm/pss/prox_test.go +++ b/swarm/pss/prox_test.go @@ -239,7 +239,7 @@ func testProxNetwork(t *testing.T) { if err != nil { t.Fatal(err) } - ctx, cancel := context.WithTimeout(context.Background(), time.Second*60) + ctx, cancel := context.WithTimeout(context.Background(), time.Second*120) defer cancel() snap := readSnapshot(t, nodeCount) err = tstdata.sim.WaitTillSnapshotRecreated(ctx, snap) @@ -415,7 +415,7 @@ func newProxServices(tstdata *testData, allowRaw bool, handlerContextFuncs map[T initTest() // create keys in whisper and set up the pss object - ctxlocal, cancel := context.WithTimeout(context.Background(), time.Second) + ctxlocal, cancel := context.WithTimeout(context.Background(), time.Second*3) defer cancel() keys, err := wapi.NewKeyPair(ctxlocal) privkey, err := w.GetPrivateKey(keys)