Commit Graph

8209 Commits

Author SHA1 Message Date
Jean-Paul Calderone
abae1be9c6 Add helpers for configuring and using Eliot logging 2019-02-25 11:52:50 -05:00
Jean-Paul Calderone
f90a137552 Basic housekeeping previously missed 2019-02-25 08:57:38 -05:00
Jean-Paul Calderone
89e59dde05 Revert _perform_scan to inlineCallbacks style 2019-02-25 08:35:57 -05:00
Jean-Paul Calderone
0a9a962614 inline_callbacks moved 2019-02-25 08:35:57 -05:00
Jean-Paul Calderone
121fdc141b Slightly improved API documentation 2019-02-25 08:35:57 -05:00
Jean-Paul Calderone
7ed9b0a02e document this TestCase thing 2019-02-25 08:35:57 -05:00
Jean-Paul Calderone
4f796312a5 Switch tests over to Eliot-friendly version of inlineCallbacks 2019-02-25 08:35:57 -05:00
Jean-Paul Calderone
42c1d3939f _begin_processing cleanups 2019-02-25 08:35:57 -05:00
Jean-Paul Calderone
7d2827b93d Better docs for QueueMixin.stop 2019-02-25 08:35:57 -05:00
Jean-Paul Calderone
049a535048 reduce repetition 2019-02-25 08:35:57 -05:00
Jean-Paul Calderone
a2b4455229 try to reduce the size of the diff relative to master 2019-02-25 08:35:57 -05:00
Jean-Paul Calderone
7a9f52d2e5 make sure shutdown failures go somewhere good 2019-02-25 08:35:57 -05:00
Jean-Paul Calderone
ebd017cf2b Clean up action relationship where it's easy to do so 2019-02-25 08:35:57 -05:00
Jean-Paul Calderone
88eb368db1 Further Eliotification 2019-02-25 08:35:57 -05:00
Jean-Paul Calderone
f1a7dcf309 A fair bit more Eliot conversion 2019-02-25 08:35:57 -05:00
Jean-Paul Calderone
9966cb26d2 Basic _process logging 2019-02-25 08:35:57 -05:00
Jean-Paul Calderone
7e89776349 Convert various logging to use Eliot
This unfortunately also involves refactoring some inlineCallbacks-using code
to not use inlineCallbacks.
2019-02-25 08:35:57 -05:00
Jean-Paul Calderone
e226956d14 Some testing for Eliot message validity 2019-02-25 08:35:57 -05:00
Jean-Paul Calderone
3020fb979d Hoist some of this to a shared module 2019-02-25 08:35:57 -05:00
Jean-Paul Calderone
dd02a23cad A few more debug prints - for now 2019-02-25 08:35:57 -05:00
Jean-Paul Calderone
6ca328ba94 Fix comparison of NummedObj against non-NummedObj
Previously this would explode with AttributeError.
2019-02-25 08:35:57 -05:00
Jean-Paul Calderone
fc62fd31a0 news fragment 2019-02-25 08:35:57 -05:00
Jean-Paul Calderone
714a7de84a Associate an Eliot action with magicfolder database updates 2019-02-25 08:35:57 -05:00
Jean-Paul Calderone
a1491dc0e1
Merge pull request #551 from tahoe-lafs/2973.eliot-inlinecallbacks-support
Add an Eliot-friendly inlineCallbacks-alike decorator.

Fixes: ticket:2973

See also upstream effort: https://github.com/itamarst/eliot/pull/375
2019-02-22 15:55:56 -05:00
Jean-Paul Calderone
6f3d8d6e46
Merge pull request #552 from tahoe-lafs/2974.appveyor-build-config
Remove Appveyor branch builds when there is a related active PR.

Fixes: ticket:2974
2019-02-22 11:02:23 -05:00
Jean-Paul Calderone
19f06809e2 That was all nonsense. Throw it out. 2019-02-22 09:11:44 -05:00
Jean-Paul Calderone
e55ee7d044 Move generator context state to a generator context manager 2019-02-22 08:40:16 -05:00
Jean-Paul Calderone
d902f7567f Add a test for nested decorated generators 2019-02-22 08:39:38 -05:00
Jean-Paul Calderone
aa1b6a87eb Try harder to stop the branch builds. 2019-02-21 16:01:31 -05:00
Jean-Paul Calderone
69350d1246 news fragment 2019-02-21 15:21:22 -05:00
Jean-Paul Calderone
97ebc923d4 Dear Appveyor: skip branch with pr
Thanks.
2019-02-21 15:20:41 -05:00
Jean-Paul Calderone
66d4a9b4a1 Depend on Eliot 2019-02-21 13:19:57 -05:00
Jean-Paul Calderone
cd3207e543 test that close works. it does. 2019-02-21 13:11:44 -05:00
Jean-Paul Calderone
05807ace40 Split the implementation helpers out of the test suite 2019-02-21 12:54:10 -05:00
Jean-Paul Calderone
730d2d95d3 news fragment 2019-02-21 12:50:26 -05:00
Jean-Paul Calderone
609af9ce18 unused import 2019-02-21 12:42:57 -05:00
Jean-Paul Calderone
15ae31bf23 A stab at Eliot support for inlineCallbacks 2019-02-21 12:42:52 -05:00
Jean-Paul Calderone
9ad8e21530 An Eliot-adjacent testing helper 2019-02-21 12:42:46 -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
2bf5228586
Merge pull request #547 from tahoe-lafs/2969.aggressive-integration-test-cleanup
Aggressive integration test cleanup

Fixes: ticket:2969
2019-02-18 09:45:33 -05:00
Jean-Paul Calderone
6d948b68cf The fix 2019-02-15 13:58:02 -05:00
Jean-Paul Calderone
b9fc08a01f news fragment 2019-02-15 13:57:56 -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
9b2bc66c6c news fragment 2019-02-15 13:39: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
02890fb205 news fragment 2019-02-15 12:58:20 -05:00