I want to test hbase using its test cases. I downloaded the project from this link and followed the instruction to test the project, which is simply running the command line
mvn test
There is no problem up to here. What I want to do is to run test cases with jvmti agent
. The agent works perfectly fine, I tried it on several java files. Normally, I call my agent to test a java file using
java -agentpath:/path/to/agent/agent.so javaProgram
In this case, the project use maven and I am not good at pom files. I tried to use
alias java="java -agentpath:/path/to/agent/agent.so "
However it did not wok. How can I test hbase with my agent?