Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add test which attempts to encounter a concurrent resize and retrieval #39

Merged
merged 7 commits into from
Jan 31, 2020

Commits on Jan 29, 2020

  1. Configuration menu
    Copy the full SHA
    65a559f View commit details
    Browse the repository at this point in the history
  2. Add unit tests for BinEntry

    This has the added benefit of avoiding code coverage fluctuating
    due to non-determinism in the concurrent tests
    jhinch committed Jan 29, 2020
    Configuration menu
    Copy the full SHA
    6dbbf0f View commit details
    Browse the repository at this point in the history

Commits on Jan 30, 2020

  1. Switch to using .reserve() rather than insert for triggering resizes.

    Increase the resize capacity to 32768 to increase likelihood of
    triggering the behaviour
    jhinch committed Jan 30, 2020
    Configuration menu
    Copy the full SHA
    28d9610 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5d8dbc9 View commit details
    Browse the repository at this point in the history
  3. Also increase the number of entries inserted to 1024 to increase the

    amount of work required on each resize
    jhinch committed Jan 30, 2020
    Configuration menu
    Copy the full SHA
    6191d0c View commit details
    Browse the repository at this point in the history

Commits on Jan 31, 2020

  1. As entries currently don't handle dropping the tables, make use of Table

    in the entry unit tests to avoid leaking memory
    jhinch committed Jan 31, 2020
    Configuration menu
    Copy the full SHA
    870d17e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4cbffce View commit details
    Browse the repository at this point in the history