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

Extend tests for Fiber storage #1058

Merged
merged 4 commits into from
Aug 28, 2023
Merged

Conversation

herwinw
Copy link
Member

@herwinw herwinw commented Aug 27, 2023

Most of these tests were performed on some methods, but not on all:

  • Keys of a type other than Symbol raise an error
  • Storage access may look into the storage of the parent fiber
  • Storage is only accessible in the current fiber.

These tests were present in the storage update tests, but were omitted
in the create tests.
@herwinw herwinw marked this pull request as draft August 27, 2023 14:55
@herwinw herwinw marked this pull request as ready for review August 27, 2023 16:56
* It can access storage of the parent fiber
* It cannot access storage with non-symbol keys
* Checks for not overwriting the storage of the parent fiber
* Cannot access with non symbol key
@herwinw herwinw force-pushed the fiber_storage_missing_specs branch from bc36e86 to ab97b73 Compare August 27, 2023 17:03
@eregon eregon merged commit d31cf74 into ruby:master Aug 28, 2023
10 checks passed
@herwinw herwinw deleted the fiber_storage_missing_specs branch August 28, 2023 10:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants