207 Commits

Author SHA1 Message Date
Brian Tiger Chow
e1f81b780c 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: Brian Tiger Chow <brian@perfmode.com>
2014-11-15 02:10:53 -08:00
Juan Batiz-Benet
a45511bb19 fixed dht race #270 2014-11-05 09:26:17 -08:00
Juan Batiz-Benet
03f48e90a6 swarm + net: add explicit listen addresses 2014-11-05 04:00:49 -08:00
Juan Batiz-Benet
be52e35ed7 dht ctxcloserify 2014-10-25 21:33:59 -07:00
Juan Batiz-Benet
6998a8448e net/service now uses ctxcloser 2014-10-25 21:33:10 -07:00
Jeromy
d817b84a64 rewrite findpeer and other dht tweaks 2014-10-24 18:53:36 -07:00
Juan Batiz-Benet
15533c8fa3 dht test fix (net) 2014-10-22 05:31:49 -07:00
Juan Batiz-Benet
3b15457cf0 renamed datastore.go -> go-datastore 2014-10-21 15:10:58 -07:00
Juan Batiz-Benet
28e083b902 peer.Peer is now an interface
![](http://m.memegen.com/77n7dk.jpg)
2014-10-20 03:26:46 -07:00
Juan Batiz-Benet
ac18a83a68 differentiate ports cause timing. 2014-10-19 06:29:18 -07:00
Juan Batiz-Benet
6e5fb41cc6 fixed tests 2014-10-19 02:05:29 -07:00
Juan Batiz-Benet
b3f19c8b72 move IDFromPubKey to peer pkg 2014-10-18 04:28:26 -07:00
Juan Batiz-Benet
702efec2c6 dht tests with context 2014-10-18 04:28:26 -07:00
Jeromy
7b99fde6a0 make test fail instead of hang 2014-10-18 04:28:25 -07:00
Jeromy
dd8e9e97f3 Add test to test conncurrent connects between two peers 2014-10-18 04:28:25 -07:00
Jeromy
c4d9c231dd fix up FindProvidersAsync 2014-10-18 04:28:25 -07:00
Juan Batiz-Benet
315bd4705b handler fixes for tests 2014-10-10 20:48:20 -07:00
Juan Batiz-Benet
740b381804 changed logging, in dht and elsewhere
- use log.* instead of u.*
- use automatic type conversions to .String()
  (Peer.String() prints nicely, and avoids calling b58 encoding
  until needed)
2014-10-07 21:33:59 -07:00
Juan Batiz-Benet
e21c73a531 updated multiaddr use across codebase 2014-10-06 04:13:43 -07:00
Juan Batiz-Benet
be6003d75f update net with peerstore 2014-09-26 02:41:46 -07:00
Jeromy
8d38164677 make a few tests perform operations in two directions instead of one 2014-09-22 22:34:30 -07:00
Brian Tiger Chow
f20eef9455 fix(routing:dht) add ctx args 2014-09-22 04:06:19 -07:00
Juan Batiz-Benet
a62411035e Routing uses context now
@perfmode boom
2014-09-22 04:06:18 -07:00
Juan Batiz-Benet
0a9810a150 dht tests pass again 2014-09-22 04:06:16 -07:00
Juan Batiz-Benet
b0fbaeeef4 provider testing 2014-09-22 04:06:15 -07:00
Juan Batiz-Benet
34e171e2b3 fixed get/put 2014-09-22 04:06:12 -07:00
Juan Batiz-Benet
709f932e6e Fixed connections all over. 2014-09-22 04:06:12 -07:00
Juan Batiz-Benet
900756124e comment out dht_test for now. 2014-09-22 04:06:10 -07:00
Juan Batiz-Benet
45796e5fdf remove start 2014-09-22 04:05:23 -07:00
Juan Batiz-Benet
be2a8df715 tests compile 2014-09-22 04:05:21 -07:00
Juan Batiz-Benet
caeecd0f43 starting to integrate new net 2014-09-22 04:05:13 -07:00
Juan Batiz-Benet
9f04d5e839 godeps multiaddr + swarm move. 2014-09-22 04:05:12 -07:00
Jeromy
40d3ba331f fix typo that caused test failure in dht_test.go 2014-09-18 18:32:58 +00:00
Jeromy
d92d480465 improve cleaning up in dht tests. 2014-09-15 20:45:36 +00:00
Siraj Ravel
f874e86622 checking returned value 2014-09-14 21:44:19 -07:00
Siraj Ravel
f03d2a874a Test for getLocal method in DHT 2014-09-14 20:59:09 -07:00
Siraj Ravel
12314063e0 golint cleanup 2014-09-11 12:25:52 -07:00
Brian Tiger Chow
531769861d vendor dependencies with godep
dependencies are vendored into Godeps/_workspace and commit versions are
recorded in Godeps.json

update datastore to e89f0511
update go.crypto
2014-09-09 22:39:42 -07:00
Jeromy
bd5c670606 clean up merge of bren2010's crypto branch and merge into master 2014-09-08 18:17:57 +00:00
Jeromy
411cf6f6bf create new crypto package and make rest of repo use it 2014-09-03 20:15:10 +00:00
Jeromy
784432473a fix up tests that started failing after changing identify code 2014-09-01 21:55:59 -07:00
Jeromy
46057597bb bitswap first working commit! 2014-08-26 14:24:51 -07:00
Jeromy
d574d518b1 add in message type routing to the swarm object. tired, needs cleanup. 2014-08-20 18:42:31 -07:00
Chas Leichner
320f527284 Made routing code pass golint. 2014-08-20 18:36:32 -07:00
Chas Leichner
027449129f Made the DHT module pass golint 2014-08-20 18:36:21 -07:00
Jeromy
3454da1ab3 fix a few infinitely looping RPCs 2014-08-14 08:32:17 -07:00
Jeromy
653841f2d7 add fauxNet to stand in for Swarm in tests to reproduce various network conditions 2014-08-11 09:06:20 -07:00
Jeromy
10ef87b692 starting a new testing framework 2014-08-10 21:40:17 -07:00
Jeromy
e6ab2e2095 more work implementing coral type lookups 2014-08-10 21:02:05 -07:00
Jeromy
87ece46e35 tiered put/get implemented 2014-08-09 22:28:46 -07:00