0f6d6659e9
fewer magic numbers (and a fix to upload encoding)
2019-08-24 14:26:09 -06:00
5ca3a3a1ab
consistent naming for client fixtures / helpers
2019-08-20 00:18:14 -06:00
7244f3516d
Merge pull request #641 from meejah/integration-test-wait-for-ready
...
Better method of "waiting for readiness" in integration tests
2019-08-13 18:14:19 +00:00
7225cfb18f
continue waiting for storage-servers under more error-conditions
2019-08-13 10:33:56 -06:00
68036dd773
save a second if we're already ready
2019-08-08 21:03:40 -06:00
ff23ad1b89
spelling
2019-08-08 21:03:40 -06:00
425d16e39d
get rid of time.sleep usage for 'readiness'
2019-08-08 21:03:39 -06:00
9b3d37e03e
ValueError not RuntimeError
2019-08-08 21:02:51 -06:00
e7c387a7fc
Instead of abusing the process transport, introduce a new object
2019-08-08 21:02:50 -06:00
731c58754f
re-word docs/args
2019-08-08 21:02:44 -06:00
d939ed5042
move response-check to function
2019-08-08 21:02:44 -06:00
7738f9f4e3
add test_put and refactor a little
2019-08-08 21:02:44 -06:00
eb0a582d1c
add a --helper command-line option to 'tahoe create-node'
2019-08-08 17:41:57 -06:00
1af4593e16
some simple web integration tests
2019-08-08 12:41:27 -06:00
0227b0945e
refactor; use _tahoe_runner_optional_coverage
2019-08-08 09:53:57 -06:00
97e130aa25
refactor; use _tahoe_runner_optional_coverage
2019-08-08 09:52:00 -06:00
025b89855f
refactor so we only check coverage in one place
2019-08-07 14:03:16 -06:00
8e4b05214a
add --coverage for integration tests
2019-08-06 16:47:43 -06:00
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