Commit Graph

338 Commits

Author SHA1 Message Date
Jude Nelson
06236e98fd import a name, revoke it, wait for it to expire, and then re-register it 2016-09-07 13:49:33 -04:00
Jude Nelson
c2842126f7 import a name, and then revoke it 2016-09-07 13:49:25 -04:00
Jude Nelson
998c7c01c2 import a name, renew it, update it, and transfer it 2016-09-07 13:49:10 -04:00
Jude Nelson
7bc7a595c1 import a name, renew it, update it, let it expire, and then re-register
it
2016-09-07 13:48:56 -04:00
Jude Nelson
64e5932374 import a name, renew it, and then update it 2016-09-07 13:48:48 -04:00
Jude Nelson
dd5d995113 import a name, renew it, transfer it, and then update it 2016-09-07 13:48:39 -04:00
Jude Nelson
9294a4cc6f import a name, renew it, transfer it, let it expire, and then
re-register it
2016-09-07 13:48:18 -04:00
Jude Nelson
d38260a4ee import a name, renew it, and then transfer it 2016-09-07 13:48:10 -04:00
Jude Nelson
1775c99014 import a name, renew it, and then revoke it 2016-09-07 13:48:03 -04:00
Jude Nelson
0a172e2dff import a name, and renew it 2016-09-07 13:47:51 -04:00
Jude Nelson
883a31583a import a name twice, let it expire, and re-register it 2016-09-07 13:47:34 -04:00
Jude Nelson
76fd2d6984 import a name, let it expire, and re-register it 2016-09-07 13:47:22 -04:00
Jude Nelson
7f14c3df3a import a name, let it expire, and then verify that no operations affect
it
2016-09-07 13:47:07 -04:00
Jude Nelson
1254d3a30a only import atlas for 0.14 2016-09-07 13:45:50 -04:00
Jude Nelson
6d9210b6b2 set and restore virtualchain working directory during history
verification
2016-09-02 00:11:34 -04:00
Jude Nelson
3fb182ff71 check that no names are owned when revoked (POSSIBLY AFFECTS CONSENSUS) 2016-09-02 00:11:10 -04:00
Jude Nelson
4b56eaf383 use 'value_hash' in the replied name update for the zonefile hash 2016-09-02 00:10:51 -04:00
Jude Nelson
f1b284374b wait for longer amount of time to give RPC daemon a chance to detect
confirmed transactions
2016-09-02 00:09:59 -04:00
Jude Nelson
62ce79f8f7 print which opcodes we're testing 2016-09-02 00:09:45 -04:00
Jude Nelson
1d30b6e763 wait for zonefile updates to go through 2016-09-02 00:09:35 -04:00
Jude Nelson
56f55b6c51 wait for zonefiles to go through in between adding new keys; restart the
RPC daemon with the right wallet keys
2016-09-02 00:09:11 -04:00
Jude Nelson
afe2a91014 wait for zonefile updates to go through; restart RPC daemon with new
wallets in between zonefile updates
2016-09-02 00:08:51 -04:00
Jude Nelson
094a3e9f5a import time 2016-09-02 00:08:41 -04:00
Jude Nelson
9ce69abf1d use name variable 2016-09-02 00:08:31 -04:00
Jude Nelson
ddccae523d prettier error printing 2016-09-02 00:08:12 -04:00
Jude Nelson
0287ac37c2 use a threaded network simulator 2016-09-02 00:07:51 -04:00
Jude Nelson
46b35799a3 tweak test 2016-08-30 20:36:41 -04:00
Jude Nelson
6496a07381 wait for peers to come online 2016-08-30 20:20:51 -04:00
Jude Nelson
62de725d4f wait for peers to come online 2016-08-30 20:20:34 -04:00
Jude Nelson
d48b9f8b67 make drop probability predicated on bidirectional links 2016-08-30 20:20:11 -04:00
Jude Nelson
94371c9da4 Add test where nodes come online and go offline one by one, such that
there are 16 nodes total but 8 online at any given time.
2016-08-30 20:19:17 -04:00
Jude Nelson
25b31b6189 Test atlas with a NAT topology, where there is one seed node and a bunch
of peers that can't talk to anyone but the seed node (i.e. they're each
NAT'ed)
2016-08-30 20:18:30 -04:00
Jude Nelson
35ebfb23e3 test a chain topology, where each node has two neighbors (it's left and
right ones), except for the endpoints (which have only a left or a
right)
2016-08-30 20:18:02 -04:00
Jude Nelson
192012dace cache runtime constants 2016-08-30 00:35:57 -04:00
Jude Nelson
0b262c829b add full mesh topology test 2016-08-30 00:35:35 -04:00
Jude Nelson
cb51ee1131 API sync 2016-08-29 18:13:30 -04:00
Jude Nelson
0a31c1699e synchronization test should consider the number of zonefiles replicated 2016-08-29 18:13:09 -04:00
Jude Nelson
20db53eab4 add last_block() method 2016-08-29 17:33:32 -04:00
Jude Nelson
dd5e64b6d0 bugfixes: acquire and print out network state; add debug logging 2016-08-29 17:33:14 -04:00
Jude Nelson
2b2f9c6ce0 initial atlas test: start a secondary atlas node, have it discover the
test framework process's zonefiles, have it peer with the test
framework, have it fetch the zonefile, and have the test wait until both
the test server and atlas peer agree on the zonefile inventory vector.
2016-08-29 17:32:16 -04:00
Jude Nelson
80ed9f2856 add top-level control points for setting up, running, printing, and
shutting down an atlas simulator network
2016-08-26 18:45:11 -04:00
Jude Nelson
aac89cd16b get working dir 2016-08-26 18:44:38 -04:00
Jude Nelson
deaacf78f7 WIP: update methods that change the zonefile and have them wait for the
NAME_UPDATE to confirm on the server.  Have them start the client RPC
daemon to track this, and have the RPC daemon upload the zonefile once
confirmed.
2016-08-24 17:48:02 -04:00
Jude Nelson
0e604b39ad track operations that change zonefiles, so we can ensure that they're
present in the atlas db (as well as whether or not they were pushed to
the server, in which case, they need to be present)
2016-08-24 17:46:09 -04:00
Jude Nelson
d2f6b19731 add test for sync_zonefile 2016-08-23 11:37:42 -04:00
Jude Nelson
a0b1970a24 backport set_zonefile_hash and sync_zonefile wrappers 2016-08-23 11:37:30 -04:00
Jude Nelson
f1c7dc2cbf plumb through sync_zonefile and set_zonefile_hash 2016-08-22 21:18:19 -04:00
Jude Nelson
76b44ee100 test sync_zonefile 2016-08-22 21:18:01 -04:00
Jude Nelson
56a8d845e1 more work on the network simulator. print friendlier information and
check ultimately for 100% zonefile replication.  don't care about node
popularity anymore.
2016-08-22 18:01:36 -04:00
Jude Nelson
b545a3c173 preliminary atlas network simulator 2016-08-18 18:34:36 -04:00