Commit Graph

26 Commits

Author SHA1 Message Date
dbfcf8ae00 replaced StringIO imports with six.moves 2019-03-28 12:31:37 +01:00
9bc00c4f76 add a couple more helpers 2019-03-18 16:35:35 -04:00
a44c5d0f11 respect the timeout 2019-03-18 16:35:31 -04:00
29503c5648 Get all the nodes to turn on Eliot logging. 2019-02-27 09:11:47 -05:00
6f7e1250e8 Merge pull request #549 from tahoe-lafs/2971.super-argument-order
Fix super() argument order

Fixes: ticket:2971
2019-02-18 09:53:05 -05:00
6d948b68cf The fix 2019-02-15 13:58:02 -05:00
e511adbf63 Use the new cleanup helper for process cleanup
This removes some repetition of logic and switches to a more aggressive
cleanup approach.
2019-02-15 12:41:45 -05:00
cec31e6e5a add a helper for vigorously cleaning up processes 2019-02-15 12:39:30 -05:00
f905d80760 switch to pytest_twisted 2019-02-05 11:03:35 -05:00
2cd74dbb3a exception name wrong in super() 2018-04-30 14:55:52 -06:00
0d7a703756 simplify some utility code 2018-04-30 14:55:52 -06:00
21c6825172 fix exception stuff 2018-04-30 14:55:52 -06:00
a0546fff7b custom exception types 2018-04-30 14:55:51 -06:00
6352db9c01 comment + logging cleanup 2018-04-30 14:55:51 -06:00
c445ac4c14 use custom exception type 2018-04-30 14:55:51 -06:00
41e6ec0fff integration test fixups 2018-04-30 14:55:51 -06:00
a146afcf84 refactor integration tests 2018-04-30 14:55:51 -06:00
affb80e39e test fixups 2018-04-30 14:55:51 -06:00
5b93e193c3 An integration test for ticket 2880 2017-12-05 12:02:16 -07:00
dece729857 refactor to remove unnecessary negation
also add missing import!
2017-07-26 11:29:15 -04:00
a8917d553c rewrite the config file more safely
use cli options for whatever we can
use the config apis for the other thing

this avoids clobbering configuration we don't know about -
such as the storage=False setting (which made all nodes storage servers).
2017-07-26 10:49:43 -04:00
05f48c3601 Various cleanups, fixes and improvements
Squashed all commits that were meejah's between
30d68fb499f300a393fa0ced5980229f4bb6efda
and
33c268ed3a8c63a809f4403e307ecc13d848b1ab
On the branch meejah:1382.markberger-rewrite-rebase.6 as
per review
2017-06-05 16:31:41 -06:00
b96122a8ff Adding to the py.test integration tests, this:
- (on travis) installs Tor
 - installs Chutney
 - uses it to build a local Tor test-network
 - set up an introducer on this test-network
 - sets up two storage servers on this test-network
 - proves that one can add a file, and the other can download it

I also mark the two tests that occasionally fail as
expected failures for now
2016-10-18 18:06:41 -07:00
ffdf4bf878 longer timeouts for windows' benefit 2016-09-26 13:33:45 -07:00
b2628b0826 Ignore IOErrors while we're still waiting 2016-09-26 13:33:45 -07:00
72f17afa76 Move check_magicfolder_smoke.py to proper integration tests
This introduces a py.test-based integration suite (currently just
containing magic-folder end-to-end tests). Also adds a tox environment
("integration") to run them.

The test setup is:

 - a "flogtool gather" instance
 - an Introducer
 - five Storage nodes
 - Alice and Bob client nodes
 - Alice and Bob have paired magic-folders
2016-08-30 20:47:47 -06:00