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

harden DData.Tests.WriteAggregatorSpecs #4269

Conversation

Aaronontheweb
Copy link
Member

per #3786

@@ -162,9 +162,14 @@ public void WriteAggregator_must_timeout_when_less_than_required_ACKs()
// no reply
probe.ExpectMsg<Write>();
// no reply
ExpectMsg(new UpdateTimeout(KeyA, null));
Copy link
Member Author

Choose a reason for hiding this comment

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

We've set the WriteTimeout in all of the various write consistencies used in this spec to at least 3 seconds depending on the consistency level used and the dilation factor, without updating any of the assertions - which wait at most 3 seconds. Thus we can prematurely blow up the spec before the WriteAggregator has had a chance to actually generate its timeout.

@Aaronontheweb Aaronontheweb merged commit 549ff8a into akkadotnet:dev Feb 27, 2020
@Aaronontheweb Aaronontheweb deleted the fix/3786-DData-WriteAggregatorSpecs branch February 27, 2020 19:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant