Commit 0b529b13 authored by Brian Tiger Chow's avatar Brian Tiger Chow Committed by Juan Batiz-Benet

chore(tests) add Short() -> SkipNow() to slowest tests

vanilla:
    21.57 real        45.14 user         8.51 sys

short:
    14.40 real        31.13 user         5.56 sys

License: MIT
Signed-off-by: default avatarBrian Tiger Chow <brian@perfmode.com>
parent a7170e4e
......@@ -90,6 +90,9 @@ func TestGetBlockFromPeerAfterPeerAnnounces(t *testing.T) {
}
func TestSwarm(t *testing.T) {
if testing.Short() {
t.SkipNow()
}
net := tn.VirtualNetwork()
rs := mock.VirtualRoutingServer()
sg := NewSessionGenerator(net, rs)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment