Commit Graph

9170 Commits

Author SHA1 Message Date
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
0bab08471b newsfragment 2019-08-08 17:42:00 -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
Jean-Paul Calderone
d5f647d03e
Merge pull request #638 from tahoe-lafs/3232.deprecated-testing-helpers
Avoid failing CI when dependencies trigger deprecation warnings.
2019-08-08 08:23:17 -04:00
meejah
899fae5a80 misc -> other 2019-08-07 14:42:26 -06:00
meejah
0f6002b935 raise not except 2019-08-07 14:08:23 -06:00
meejah
025b89855f refactor so we only check coverage in one place 2019-08-07 14:03:16 -06:00
meejah
8cde74b49a bugfix -> misc 2019-08-07 14:00:24 -06:00
meejah
358f0c9ead error if --coverage but no coverage package 2019-08-07 13:59:40 -06:00
meejah
20e191a8b9 nicer message 2019-08-07 13:59:29 -06:00
Jean-Paul Calderone
9788857df6 Turn the comment into a docstring 2019-08-07 15:57:06 -04:00
meejah
43162f2ffe combine for normal runs, too 2019-08-07 13:51:05 -06:00
meejah
113c0a690c newsfragment 2019-08-07 13:38:35 -06:00
Jean-Paul Calderone
56b46ee900
Merge pull request #637 from tahoe-lafs/3233.chutney-regression
Fix Chutney regression

Pass the process environment to the chutney process.  Recent changes to Chutney
now require it.
2019-08-07 15:33:32 -04:00
meejah
3b3626244e cleanup 2019-08-07 12:39:29 -06:00
meejah
8e4b05214a add --coverage for integration tests 2019-08-06 16:47:43 -06:00
Jean-Paul Calderone
e66ffacc9e a docstring for the matcher's match method 2019-08-03 06:39:31 -04:00
Jean-Paul Calderone
21d735ece9 whitespace more conforming to PEP8 2019-08-03 06:39:31 -04:00
Jean-Paul Calderone
3152a35618 Some additional documentation 2019-08-03 06:39:31 -04:00
Jean-Paul Calderone
d69de15664 implement the feature
improve the test slightly, too, to verify the configuration supplied to the
plugin is as expected.
2019-08-03 06:39:31 -04:00
Jean-Paul Calderone
326e5829b0 Add a basic test for the existence of any plugin-supplied resource 2019-08-03 06:39:31 -04:00
Jean-Paul Calderone
375f917607 Be explicit that we expect to be operating on bytes here 2019-08-03 06:39:31 -04:00
Jean-Paul Calderone
9842447a07 Don't start or announce anonymous access if config says not to 2019-08-03 06:39:31 -04:00
Jean-Paul Calderone
6fd27097a9 Factor out some repetition of this dummy value 2019-08-03 06:39:31 -04:00
Jean-Paul Calderone
e0157ab174 Give me a tool to match announcements w/o anonymous storage furl 2019-08-03 06:39:31 -04:00
Jean-Paul Calderone
853cf62530 Allow [storage]anonymous through the validator
And provide a helpful accessor for reading it
2019-08-03 06:39:31 -04:00
Jean-Paul Calderone
b50e20b58c document a new configuration option 2019-08-03 06:39:31 -04:00
Jean-Paul Calderone
95b2f6cfb5 news fragment 2019-08-03 06:39:31 -04:00
Jean-Paul Calderone
311afa8a75 Test & fix supplying plugin configuration 2019-08-03 06:39:31 -04:00
Jean-Paul Calderone
7e685c4fd3 this typo, so much
design flaw in english
2019-08-03 06:39:31 -04:00
Jean-Paul Calderone
57160f65c6 Pass get_rref in to get_storage_client
plugins don't otherwise have a way to talk to the server.
2019-08-03 06:39:31 -04:00
Jean-Paul Calderone
2616c66a49 Fix confusion between IStorageServer and the thing above it
IStorageServer is what uses a connection.  You need a thing above it to _get_
a connection.
2019-08-03 06:39:31 -04:00
Jean-Paul Calderone
59546944ce Factor duplicate furl value out and add it where needed 2019-08-03 06:39:31 -04:00
Jean-Paul Calderone
9743a1ab4e docstring 2019-08-03 06:39:31 -04:00
Jean-Paul Calderone
bee3ee8ff1 docstrings 2019-08-03 06:39:31 -04:00
Jean-Paul Calderone
11418a9f87 Fix test_add_rref users by making them supply coherent values
... of the right type
2019-08-03 06:39:31 -04:00
Jean-Paul Calderone
166c5ab53f there is only a NativeStorageServer
though it is used by the client
2019-08-03 06:39:31 -04:00
Jean-Paul Calderone
c752fc76f1 pass the new config to StorageFarmBroker 2019-08-03 06:39:31 -04:00
Jean-Paul Calderone
48b8bd6eb0 pass config down and use it to make the client plugin 2019-08-03 06:39:31 -04:00
Jean-Paul Calderone
3c3ebc368a note about some logging we should do 2019-08-03 06:39:31 -04:00
Jean-Paul Calderone
2e0e9f0cad remove duplication of NativeStorageServer instantiation 2019-08-03 06:39:31 -04:00
Jean-Paul Calderone
bbd1c706e4 teach StorageConfigClient to load storage client plugins 2019-08-03 06:39:31 -04:00