Skip to content

Instantly share code, notes, and snippets.

@zhangkun83
Created March 2, 2016 16:43
Show Gist options
  • Save zhangkun83/351e76c398d71e52865b to your computer and use it in GitHub Desktop.
Save zhangkun83/351e76c398d71e52865b to your computer and use it in GitHub Desktop.
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