Set YourKit profiler option to ensure the agent binds to all interfaces in tests
Change-Id: I7faee695af91a0307e68be04ed10d0956c3b6cae
(cherry picked from commit 4ed92ec83dcc5215b7dc2e75d2481249c9ed9cb0)
diff --git a/tools/test/bin/onos-install b/tools/test/bin/onos-install
index 1bac438..7eb881a 100755
--- a/tools/test/bin/onos-install
+++ b/tools/test/bin/onos-install
@@ -87,7 +87,7 @@
unzip -o YourKit-JavaProfiler-${ONOS_YOURKIT}.zip
rm YourKit-JavaProfiler-${ONOS_YOURKIT}.zip
mv /tmp/YourKit-JavaProfiler-$(echo $ONOS_YOURKIT | sed 's/\(.*\)-.*/\1/')/bin/linux-x86-64/libyjpagent.so $ONOS_INSTALL_DIR/libyjpagent.so
- echo -e 'export JAVA_OPTS="${JAVA_OPTS:--agentpath:$ONOS_INSTALL_DIR/libyjpagent.so}"' >> $ONOS_INSTALL_DIR/options
+ echo -e 'export JAVA_OPTS="${JAVA_OPTS:--agentpath:$ONOS_INSTALL_DIR/libyjpagent.so}=listen=all"' >> $ONOS_INSTALL_DIR/options
fi
# Set up correct user to run onos-service