Commit Graph

105 Commits

Author SHA1 Message Date
meejah
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
meejah
f1be3e12df get rid of sleep() we don't need 2019-08-13 10:41:14 -06:00
meejah
643b26978f unused import 2019-08-13 10:37:02 -06:00
meejah
7225cfb18f continue waiting for storage-servers under more error-conditions 2019-08-13 10:33:56 -06:00
meejah
4dc7f9637e naming 2019-08-10 20:00:04 -06:00
meejah
926fa77ccb naming for tor-introducer fixture 2019-08-10 13:53:09 -06:00
meejah
84a320db34 more client awaiting 2019-08-08 21:39:53 -06:00
meejah
68036dd773 save a second if we're already ready 2019-08-08 21:03:40 -06:00
meejah
ff23ad1b89 spelling 2019-08-08 21:03:40 -06:00
meejah
425d16e39d get rid of time.sleep usage for 'readiness' 2019-08-08 21:03:39 -06:00
meejah
9b3d37e03e ValueError not RuntimeError 2019-08-08 21:02:51 -06:00
meejah
e7c387a7fc Instead of abusing the process transport, introduce a new object 2019-08-08 21:02:50 -06:00
meejah
731c58754f re-word docs/args 2019-08-08 21:02:44 -06:00
meejah
d939ed5042 move response-check to function 2019-08-08 21:02:44 -06:00
meejah
7738f9f4e3 add test_put and refactor a little 2019-08-08 21:02:44 -06:00
meejah
eb0a582d1c add a --helper command-line option to 'tahoe create-node' 2019-08-08 17:41:57 -06:00
meejah
1af4593e16 some simple web integration tests 2019-08-08 12:41:27 -06:00
meejah
ba5f44354b
Merge pull request #636 from meejah/integration-test-coverage
coverage for integration tests
2019-08-08 18:40:29 +00:00
meejah
0227b0945e refactor; use _tahoe_runner_optional_coverage 2019-08-08 09:53:57 -06:00
meejah
97e130aa25 refactor; use _tahoe_runner_optional_coverage 2019-08-08 09:52:00 -06:00
meejah
025b89855f refactor so we only check coverage in one place 2019-08-07 14:03:16 -06:00
meejah
8e4b05214a add --coverage for integration tests 2019-08-06 16:47:43 -06:00
Jean-Paul Calderone
cd0ec043a8 Rely on the PATH now being passed down to find git 2019-08-02 16:50:21 -06:00
Jean-Paul Calderone
7f1673596f Pass the whole parent environment down to the child
You never know what is in here that is totally essential to the operation of
some random thing. :(
2019-08-02 16:49:50 -06:00
Jean-Paul Calderone
988c3c6c16 Made sudo optional 2019-04-06 09:14:41 -04:00
Jean-Paul Calderone
1c5b284a3b Attempt to support more distros 2019-04-04 15:50:24 -04:00
Jean-Paul Calderone
4f4ff3ff3c Good practice for scripts 2019-04-04 13:52:09 -04:00
heartsucker
dbfcf8ae00
replaced StringIO imports with six.moves 2019-03-28 12:31:37 +01:00
Jean-Paul Calderone
670182c32a Force a log event so the test completes. 2019-03-24 13:28:08 -04:00
Jean-Paul Calderone
f2ddb27ee0 trivial debug print 2019-03-22 14:16:50 -04:00
Jean-Paul Calderone
9de97dbdd5 Use guard and add some tests (integration failing) 2019-03-22 13:47:32 -04:00
Jean-Paul Calderone
8814261e18 Note a possible better solution and my own laziness
Actually, I'm sick, give me a break.
2019-03-18 19:20:12 -04:00
Jean-Paul Calderone
420000bfdb Account for state from other tests 2019-03-18 19:19:57 -04:00
Jean-Paul Calderone
262485bd14 add a test for the conflict behavior 2019-03-18 16:35:42 -04:00
Jean-Paul Calderone
9bc00c4f76 add a couple more helpers 2019-03-18 16:35:35 -04:00
Jean-Paul Calderone
a44c5d0f11 respect the timeout 2019-03-18 16:35:31 -04:00
Jean-Paul Calderone
c42e5b10c6 Take the necessary fixtures 2019-03-07 12:38:38 -05:00
Jean-Paul Calderone
9e4fa3972e Assert against the correct path
magic_folder contains the magic folder paths, of course.
The Tahoe-LAFS node directories are below the temp_dir.
2019-03-04 10:35:34 -05:00
Jean-Paul Calderone
1121cdd527 The logs should be written 2019-03-04 09:43:46 -05:00
Jean-Paul Calderone
432aaa2904 Do some Eliot logging in the integration test suite 2019-02-27 09:12:00 -05:00
Jean-Paul Calderone
29503c5648 Get all the nodes to turn on Eliot logging. 2019-02-27 09:11:47 -05:00
Jean-Paul Calderone
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
Jean-Paul Calderone
4611e38b01
Merge pull request #548 from tahoe-lafs/2970.keep-tempdir
Document --keep-tempdir correctly

Fixes: ticket:2970
2019-02-18 09:51:42 -05:00
Jean-Paul Calderone
6d948b68cf The fix 2019-02-15 13:58:02 -05:00
Jean-Paul Calderone
f5b7058efe Allow an error exit status from flogtool dump
If the flog is truncated, parsing it will fail and flogtool will exit with an
error.  There's no particular reason to allow this to fail a test.
2019-02-15 13:46:25 -05:00
Jean-Paul Calderone
9a77f1d2e9 This default is also not necessary. 2019-02-15 13:37:42 -05:00
Jean-Paul Calderone
7226fedd9c Avoid having this line crammed onto the end of a line of pytest output 2019-02-15 13:37:27 -05:00
Jean-Paul Calderone
845e1e7a4a There is no need for a default. There is always a value. 2019-02-15 13:24:23 -05:00
Jean-Paul Calderone
2c994b4417 Document the usage correctly 2019-02-15 13:24:17 -05:00
Jean-Paul Calderone
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