Skip to content

Fix a cleanup issue in TestCluster after a failure#2734

Merged
ReubenBond merged 2 commits intodotnet:masterfrom
jdom:testcluster-failiure-cleanup
Feb 15, 2017
Merged

Fix a cleanup issue in TestCluster after a failure#2734
ReubenBond merged 2 commits intodotnet:masterfrom
jdom:testcluster-failiure-cleanup

Conversation

@jdom
Copy link
Member

@jdom jdom commented Feb 15, 2017

Cleanup logic threw another exception that ended up masquerading the real exception and potentially leaking an initialized silo

Cleanup logic threw another exception that ended up masquerading the real exception and potentially leaking an initialized silo
@sergeybykov sergeybykov added this to the 1.5.0 milestone Feb 15, 2017
catch (Exception)
{
this.additionalSilos.AddRange(siloStartTasks.Where(t => t.Exception != null).Select(t => t.Result));
this.additionalSilos.AddRange(siloStartTasks.Where(t => t.Exception == null).Select(t => t.Result));
Copy link
Contributor

Choose a reason for hiding this comment

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

synced offline, we will add a logic to clean up silos which failed to start to enhance this fix.

Copy link
Member

Choose a reason for hiding this comment

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

@xiazen in this pr or a later pr? I'll leave it to you two

Copy link
Member Author

Choose a reason for hiding this comment

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

Done

@ReubenBond ReubenBond merged commit beecd38 into dotnet:master Feb 15, 2017
@jdom jdom deleted the testcluster-failiure-cleanup branch February 15, 2017 22:27
sergeybykov pushed a commit to sergeybykov/orleans that referenced this pull request Feb 22, 2017
* Fix a cleanup issue in TestCluster after a failure
Cleanup logic threw another exception that ended up masquerading the real exception and potentially leaking an initialized silo

* Cleanup AppDomain when silo fails to start in TestCluster
@github-actions github-actions bot locked and limited conversation to collaborators Dec 11, 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.

5 participants