Skip to content

Fix PrefetchManagerBasic.ReferenceToSessionIsNotPreservedInCacheTest #17

Merged
alex-kulakov merged 1 commit intoDataObjects-NET:masterfrom
servicetitan:fix-prefetch-test
Apr 15, 2020
Merged

Fix PrefetchManagerBasic.ReferenceToSessionIsNotPreservedInCacheTest #17
alex-kulakov merged 1 commit intoDataObjects-NET:masterfrom
servicetitan:fix-prefetch-test

Conversation

@AlexUstinov
Copy link
Copy Markdown
Contributor

We wanted induced garbage collection to cleanup Session instance, however it had almost no effect and the test was very unstable.

Moving TestHelper.CollectGarbage(true); call to upper context significantly improved stability.

@alex-kulakov alex-kulakov merged commit 37fc6ee into DataObjects-NET:master Apr 15, 2020
@AlexUstinov AlexUstinov deleted the fix-prefetch-test branch April 15, 2020 20:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants