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

Logging stops working if host process is being reused #6

Closed
jgefele opened this issue Nov 15, 2015 · 2 comments
Closed

Logging stops working if host process is being reused #6

jgefele opened this issue Nov 15, 2015 · 2 comments
Labels

Comments

@jgefele
Copy link
Collaborator

jgefele commented Nov 15, 2015

  • Enable Test>Test Settings>Keep Test Execution Engine Running
  • Enable Test>Test Settings>Default Processor Architecture>x64

    (for x86 the "keep ... running" setting is a no-op.)
  • Run tests multiple times.

After the first run there will be no more test output.

  • Disable Test>Test Settings>Keep Test Execution Engine Running
  • Kill the execution engine process
  • Run tests multiple times.

All runs have test output.

Probably this is because IMessageLogger is being reused between multiple calls into GTA.

This problem is more important for VS2013 because here the execution engine is being reused by default for x86.

@jgefele jgefele added the bug label Nov 15, 2015
@csoltenborn
Copy link
Owner

This might already be fixed by commit 0fb09f3, since the TestEnvironment is now instantiated freshly for every test run, using the current IMessageLogger instance. Need to try, though...

@jgefele
Copy link
Collaborator Author

jgefele commented Nov 15, 2015

Yep. It has been fixed by that commit and now has been merged into master.

@jgefele jgefele closed this as completed Nov 15, 2015
csoltenborn pushed a commit that referenced this issue Jul 30, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants