Commit aab63df8 authored by Dieter Maurer's avatar Dieter Maurer Committed by GitHub

Merge pull request #199 from zopefoundation/reduce_storage_tests#198

Reduce ZEO testing time by dropping tests with some storages
parents dd8cb37d fe013d2a
...@@ -4,6 +4,18 @@ Changelog ...@@ -4,6 +4,18 @@ Changelog
5.4.0 (unreleased) 5.4.0 (unreleased)
------------------ ------------------
- Test ZEO only with the following storages
``FileStorage`` with server side blobs,
``FileStorage`` with shared blob directory,
``MappingStorage`` (without blobs).
Those tests cover all storage features with impact on ZEO:
without blobs, with shared blobs and with server side blobs;
load, store, two phase commit, undo.
Therefore, passing tests for those storages provide high confidence that ZEO
works for other properly implemented storages as well.
See `#198 <https://github.com/zopefoundation/ZEO/issues/198>`_.
- Lint the code with flake8 - Lint the code with flake8
- Add support for Python 3.10. - Add support for Python 3.10.
......
...@@ -1740,9 +1740,14 @@ def can_use_empty_string_for_local_host_on_client(): ...@@ -1740,9 +1740,14 @@ def can_use_empty_string_for_local_host_on_client():
slow_test_classes = [ slow_test_classes = [
BlobAdaptedFileStorageTests, BlobWritableCacheTests, BlobAdaptedFileStorageTests, BlobWritableCacheTests,
MappingStorageTests, DemoStorageTests, # keep to test a storage without blobs
FileStorageTests, # and with in memory store (may have different latency than
FileStorageHexTests, FileStorageClientHexTests, # ``FileStorage`` and therefore expose other race conditions)
MappingStorageTests,
# drop to save time
# DemoStorageTests,
# FileStorageTests,
# FileStorageHexTests, FileStorageClientHexTests,
] ]
if not forker.ZEO4_SERVER: if not forker.ZEO4_SERVER:
slow_test_classes.append(FileStorageSSLTests) slow_test_classes.append(FileStorageSSLTests)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment