test(mount): comprehensive mount e2e suite (mount/001-020)#42
Merged
windoliver merged 3 commits intomainfrom Feb 28, 2026
Merged
test(mount): comprehensive mount e2e suite (mount/001-020)#42windoliver merged 3 commits intomainfrom
windoliver merged 3 commits intomainfrom
Conversation
20 tests across 4 files covering event bus, permissions, federation, and delivery. Includes EventClient wrapper with latency measurement. - test_event_bus.py: 8 tests (emission, filtering, replay, metadata, latency) - test_event_permissions.py: 5 tests (auth, zone isolation, admin access) - test_event_federation.py: 4 tests (cross-zone, replication, latency) - test_event_delivery.py: 3 tests (SSE, durability, batch writes)
Add 8 new test files covering advanced operations, concurrency, exporters, isolation, operations, Redis pub/sub, SSE streaming, and watch/observe patterns. Fix zone channel isolation test to query zone="default" and rmdir event type matching to include "rmdir_recursive". Results: 55 passed, 0 failed, 9 skipped (infra-dependent: watch, SSE, federation, permissions).
Rewrite mount tests from 3 basic tests to 20 comprehensive tests covering full mount API surface with auth+permissions+zone isolation. Test classes: - TestMountLifecycle: list, add+remove, get, has_mount, read-through - TestReadOnlyMount: readonly flag preservation, readonly in listings - TestConnectorDiscovery: list connectors, filter by category - TestMountPersistence: save, load, delete, readonly persistence - TestMountErrors: overwrite semantics, invalid backend, missing mount - TestMountPermissions: owner permission creation, permission filtering - TestBrickLifecycle: brick unmount+remount cycle via REST API All 20 tests pass against live server (port 2026) with enforce_permissions=true, enforce_zone_isolation=true.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
enforce_permissions=true,enforce_zone_isolation=trueTest coverage
Test plan
root_pathperLocalBackend.CONNECTION_ARGS