Created
March 2, 2016 16:43
-
-
Save zhangkun83/351e76c398d71e52865b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class LoadTest extends Test{ | |
private numberOfClients = 1000 | |
public FileTree getCandidateClassFiles() { | |
FileTree candidateTimes = super.getCandidateClassFiles() | |
for(int client = 1; client<numberOfClients;client++){ | |
candidateTimes = candidateTimes + super.getCandidateClassFiles() | |
} | |
return candidateTimes | |
} | |
} | |
task loadTest(type:LoadTest){ | |
jvmArgs "-Xbootclasspath/p:" + configurations.alpnboot.asPath | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment