mirror of
https://github.com/corda/corda.git
synced 2024-12-19 04:57:58 +00:00
Add note for enabling verifyInstrumentation in IntelliJ. (#595)
This commit is contained in:
parent
b3894fa38a
commit
db70fa40f7
@ -100,11 +100,16 @@ reject each other's trade proposals which is implemented in
|
||||
examples using the IntelliJ IDE one can run/step the respective unit
|
||||
tests in ``FxTransactionBuildTutorialTest.kt`` and
|
||||
``WorkflowTransactionBuildTutorialTest.kt``, which drive the flows as
|
||||
part of a simulated in-memory network of nodes. Before creating the IntelliJ
|
||||
run configurations for these unit tests go to Run -> Edit Configurations ->
|
||||
Defaults -> JUnit, add ``-javaagent:lib/quasar.jar`` to the VM options, and
|
||||
set Working directory to ``$PROJECT_DIR$`` so that the ``Quasar``
|
||||
instrumentation is correctly configured.
|
||||
part of a simulated in-memory network of nodes.
|
||||
|
||||
.. |nbsp| unicode:: 0xA0
|
||||
:trim:
|
||||
|
||||
.. note:: Before creating the IntelliJ run configurations for these unit tests
|
||||
go to Run -> Edit |nbsp| Configurations -> Defaults -> JUnit, add
|
||||
``-javaagent:lib/quasar.jar -Dco.paralleluniverse.fibers.verifyInstrumentation``
|
||||
to the VM options, and set Working directory to ``$PROJECT_DIR$``
|
||||
so that the ``Quasar`` instrumentation is correctly configured.
|
||||
|
||||
For the Cash transaction let’s assume the cash resources are using the
|
||||
standard ``CashState`` in the ``:financial`` Gradle module. The Cash
|
||||
|
Loading…
Reference in New Issue
Block a user