shorten timeout

This commit is contained in:
tycho garen
2021-09-24 16:16:45 -04:00
parent 578855b583
commit 3dd0e3e125

View File

@@ -525,7 +525,7 @@ func TestReactor_StateProviderP2P(t *testing.T) {
rts.reactor.cfg.UseP2P = true
rts.reactor.cfg.TrustHeight = 1
rts.reactor.cfg.TrustHash = fmt.Sprintf("%X", chain[1].Hash())
ctx, cancel := context.WithTimeout(context.Background(), 2*time.Minute)
ctx, cancel := context.WithTimeout(context.Background(), 10*time.Second)
defer cancel()
rts.reactor.mtx.Lock()