Skip to content

tests: load_simulation_tests test_rate_comparison_stress snapshot is 895KB #549

@Haroldwonder

Description

@Haroldwonder

Problem

test_rate_comparison_stress.1.json is 895,638 bytes — nearly 1MB for a single test snapshot. This inflates the repository size and makes git operations slower. The snapshot likely contains the full ledger state after a large number of operations.

Location

test_snapshots/load_simulation_tests/test_rate_comparison_stress.1.json

Fix

Replace the full-state snapshot with targeted assertions on the specific values being tested (e.g. final rate limit state, total request count), or use a hash of the snapshot to detect changes without storing the full content.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions