Skip to content

Integration test against tahoe lafs#444

Merged
exarkun merged 34 commits intomainfrom
integration-test-against-tahoe-lafs
Jun 19, 2023
Merged

Integration test against tahoe lafs#444
exarkun merged 34 commits intomainfrom
integration-test-against-tahoe-lafs

Conversation

@exarkun
Copy link
Copy Markdown
Collaborator

@exarkun exarkun commented Oct 6, 2022

Also fix all of the storage protocol integration methods.

Fixes #433

@codecov
Copy link
Copy Markdown

codecov Bot commented Oct 11, 2022

Codecov Report

Merging #444 (6eee088) into main (58995b9) will decrease coverage by 0.17%.
The diff coverage is 91.57%.

❗ Current head 6eee088 differs from pull request most recent head 13e2881. Consider uploading reports for the commit 13e2881 to get more accurate results

@@            Coverage Diff             @@
##             main     #444      +/-   ##
==========================================
- Coverage   95.39%   95.23%   -0.17%     
==========================================
  Files          62       64       +2     
  Lines        8021     8344     +323     
  Branches     1035     1077      +42     
==========================================
+ Hits         7652     7946     +294     
- Misses        266      284      +18     
- Partials      103      114      +11     
Impacted Files Coverage Δ
src/_zkapauthorizer/tests/fixtures.py 95.40% <ø> (ø)
src/_zkapauthorizer/_storage_server.py 93.86% <66.66%> (+0.45%) ⬆️
src/_zkapauthorizer/tests/strategies.py 95.93% <80.00%> (-1.17%) ⬇️
src/_zkapauthorizer/_storage_client.py 84.77% <87.50%> (+1.18%) ⬆️
src/_zkapauthorizer/tests/resources.py 90.18% <88.05%> (-5.27%) ⬇️
...kapauthorizer/tests/test_tahoe_lafs_integration.py 92.50% <92.50%> (ø)
src/_zkapauthorizer/_types.py 92.00% <100.00%> (+6.28%) ⬆️
src/_zkapauthorizer/tests/issuer.py 100.00% <100.00%> (ø)
src/_zkapauthorizer/tests/test_plugin.py 99.71% <100.00%> (ø)
src/_zkapauthorizer/tests/test_storage_protocol.py 99.24% <100.00%> (ø)

... and 4 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

exarkun added 5 commits June 19, 2023 10:10
Before they got the anonymous storage service fURL and skipped all of our
ZKAP-related codepaths.  There was some code to try to give client nodes the
correct servers.yaml content but it ran in TahoeNode.create and then got
clobbered by the code in TahoeClient.create.  Huzzah, inheritance.
Our fancy JSON type is not _that_ fancy so this is still wrong, but maybe less
aggressively so...
macOS seems to need two ticks.  This mirrors another copy of this pattern in
fixtures.py.
@exarkun
Copy link
Copy Markdown
Collaborator Author

exarkun commented Jun 19, 2023

Coverage reporting is broken but CI is otherwise green. I'm satisfied that the new integration tests are exercising what they should now.

@exarkun exarkun merged commit af307df into main Jun 19, 2023
@exarkun exarkun deleted the integration-test-against-tahoe-lafs branch June 19, 2023 15:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

RuntimeWarning: coroutine 'ZKAPAuthorizerStorageClient.slot_readv' was never awaited

1 participant