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

Fix Transactional StorageProvider Wrapper #4599

Merged

Conversation

sebastianburckhardt
Copy link
Contributor

Fix a bug in TransactionalStateStorageProviderWrapper. This was a very plain bug causing an IndexOutOfRangeException; interestingly, it made it past the original unit tests.
This bug was caught yesterday by the concurrency tests (#4595). That's exactly why we need those.

In this same PR I am also making a small change to reorganize the tracing configuration for transaction test cases to make it easier to control.

Copy link
Contributor

@jason-bragg jason-bragg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor change suggested, otherwise lg2m



// control the tracing of the various components of the transaction mechanism
public static ISiloHostBuilder ConfigureTracingForTransactionTests(this ISiloHostBuilder hostBuilder)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggest putting this in it's own extensions class. It's not a 'test constant'

@jason-bragg jason-bragg merged commit 6d6c20d into dotnet:master May 16, 2018
@github-actions github-actions bot locked and limited conversation to collaborators Dec 5, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants