37 Commits

Author SHA1 Message Date
vrde
9b709b7f98
Add tests for argparse 2016-09-21 00:46:48 +02:00
vrde
7944e0cd98
Allow temporary keypair if no conf file found
Closes #482, closes #559
2016-09-20 16:49:56 +02:00
vrde
121c729504
Merge remote-tracking branch 'origin/master' into make-db-connection-more-robust 2016-09-19 17:14:02 +02:00
vrde
b9fba73c14
Remove unused code 2016-09-07 17:32:34 +02:00
Ryan Henderson
92981e003d Core/198/handle stale transactions (#359)
* add timestamp to transaction assignment

* add reassignment delay to configuration

* refactor to multipipes

* # This is a combination of 7 commits.
# The first commit's message is:
stale transaction monitor and tests

# The 2nd commit message will be skipped:

#	simplify logic

# The 3rd commit message will be skipped:

#	node will assign to self

# The 4th commit message will be skipped:

#	block listens for insert and update

# The 5th commit message will be skipped:

#	more test coverage

# The 6th commit message will be skipped:

#	test coverage

# The 7th commit message will be skipped:

#	test coverage

* stale transaction monitor and tests

* update operation only returns new value
2016-09-07 16:26:41 +02:00
vrde
b8e6b0b830
Add code coverage for start_temp_rethinkdb 2016-09-07 02:06:52 +02:00
vrde
1d073ee706
Use new Connection class to run queries 2016-09-07 00:40:17 +02:00
vrde
702fbe693f
Merge branch 'master' into refactor-multiprocessing-for-vote 2016-08-15 16:25:06 +02:00
Rodolphe Marques
6208305ae4 added tests 2016-06-20 13:24:14 +02:00
Rodolphe Marques
8d204a50eb Catch rethinkdb exceptions when configuring shards and replicas 2016-06-17 15:51:45 +02:00
troymc
cc6129103f WIP: added bigchaindb set-replicas cmd w/ non-working test 2016-06-16 14:44:57 +02:00
troymc
e212828182 Updated awsdeploy, fabfile, docs, test for bigchaindb set-shards 2016-05-09 18:14:48 +02:00
Rodolphe Marques
f09dacdd11 renamed sharding to set-shards 2016-05-09 17:31:02 +02:00
Rodolphe Marques
9f959fc6ed Add command to configure number of shards.
Changed aws deployment script to automatically set the number of shards.
Created tests
2016-05-09 16:45:09 +02:00
vrde
66cd3bb77b
Fix exception in test 2016-04-27 17:17:11 +02:00
vrde
f9c609ff0d
Add env variables to default config 2016-04-26 03:24:56 +02:00
vrde
2d6c502ee3
Add exp command to start RethinkDB 2016-04-26 01:42:21 +02:00
troymc
0870985049 Nevermind checking err when export pubkey and pubkey set 2016-04-18 11:49:41 +02:00
troymc
5482934868 More tests for bigchain export-my-pubkey 2016-04-18 11:06:09 +02:00
troymc
53196c5b8c Renamed dict_config() to set_config() 2016-04-14 10:55:07 +02:00
vrde
22923ee9d3
Force a config reset before every test 2016-04-12 16:23:09 +02:00
vrde
c9cd842151
Avoid loading the config located in the home of the current user 2016-04-07 17:54:36 +02:00
vrde
ae641d6a96
Fix tests 2016-04-07 14:31:34 +02:00
vrde
959320cdb9
Remove CONFIGURED from tests as well 😓 2016-04-06 17:39:44 +02:00
vrde
804365db24 Improve config, tests and docs
Add better support to env variables.
2016-03-31 11:37:09 +02:00
vrde
e4d3915533 Add type conversion and docs 2016-03-24 01:41:00 +01:00
vrde
3a714a7f8e Add config to blueprint and fix tests madness
There was a problem related to the import of the module
`bigchaindb.web.views`.
The module, when imported, inizialises a new `Bigchain` instance, and
this is wrong for testing and because it's a bad practice.

I spent more or less 2h finding out the problem.
2016-03-03 01:40:40 +01:00
vrde
bd6e16b836 Fix bug related to config overwrite 2016-02-29 14:28:02 +01:00
ryan
63fb14dcc5 adjust tests accordingly 2016-02-22 14:16:02 +01:00
vrde
aea99f8ce0 Fix annoying fixture 2016-02-18 22:14:58 +01:00
vrde
c695f0950e Allow non interactive first start 2016-02-18 16:27:24 +01:00
Sylvain Bellemare
9919e275c2 Add test for run_configure to write config 2016-02-15 13:54:52 +01:00
Sylvain Bellemare
a766fc60b7 Add test for run_configure 2016-02-15 13:54:52 +01:00
Sylvain Bellemare
2b483767ea Add test for run_drop 2016-02-15 13:54:52 +01:00
Sylvain Bellemare
35344d87fa Handle case when db already exists 2016-02-15 13:54:52 +01:00
Sylvain Bellemare
61c9268294 Add test for show_config option 2016-02-15 13:54:52 +01:00
Sylvain Bellemare
d3a0b9515c Fix exception name 2016-02-15 13:54:52 +01:00