Skip to content

Add security-related unit tests - #29

Merged
psafont merged 4 commits into
xapi-project:mainfrom
last-genius:asv/security
Apr 30, 2026
Merged

Add security-related unit tests#29
psafont merged 4 commits into
xapi-project:mainfrom
last-genius:asv/security

Conversation

@last-genius

Copy link
Copy Markdown
Contributor

Adds a unit test making sure XSA-483 is fixed, and a few more verifying other security guarantees are ensured (history is bounded; concurrent transactions can't circumvent quota checks). Also adds tests for the Unwatch command.

@last-genius

Copy link
Copy Markdown
Contributor Author

The CI will fail until #28 is merged

Signed-off-by: Andrii Sultanov <andriy.sultanov@vates.tech>
…a checks

Signed-off-by: Andrii Sultanov <andriy.sultanov@vates.tech>
Otherwise long-running transactions would leak memory.

Signed-off-by: Andrii Sultanov <andriy.sultanov@vates.tech>
This failed before the XSA-483 patch, showing that the quota was not reset
after domain destruction:

    FAIL Verify quota usage is as expected
       Expected: `0'
       Received: `4'

Signed-off-by: Andrii Sultanov <andriy.sultanov@vates.tech>
@psafont
psafont merged commit 4a5f925 into xapi-project:main Apr 30, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants