-
Notifications
You must be signed in to change notification settings - Fork 477
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
Make gtest only instrument method in ngrinder context #335
Make gtest only instrument method in ngrinder context #335
Conversation
@@ -6,7 +6,7 @@ | |||
<version>0.0.1</version> | |||
|
|||
<properties> | |||
<ngrinder.version>3.4</ngrinder.version> | |||
<ngrinder.version>3.4.2-SNAPSHOT</ngrinder.version> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be updated and the core should be released on maven repo when releasing 3.4.2
@@ -121,7 +121,7 @@ public File doValidate(File base, File script, Condition eventSynchronisation, b | |||
ScriptLocation scriptLocation = new ScriptLocation(workingDirectory, script); | |||
ProcessWorkerFactory workerFactory = new ProcessWorkerFactory(workerCommandLine, agentIdentity, | |||
fanOutStreamSender, false, scriptLocation, properties); | |||
|
|||
Properties properties1 = System.getProperties(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's looks like unused variable.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You're right. I reverted the changes on this file.
12d1338
to
876ba6c
Compare
876ba6c
to
497f937
Compare
It works well in my local system. |
Fix for #334
This PR introduces ngrinder.context system property to determine the current context (junit or ngrinder)
Only when ngrinder.context property is given, gtest instruments the code so that the debugging will be enabled.