Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

issue in performance test cases.

 
Punit Jain
Ranch Hand
Posts: 1015
2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
we have written some performance test cases, the problem which we are facing is, ware setting the maxElapsedTime for each of test case, and for this we have created one annotation maxElapsedTime.
we are using jenkins to build the code.
the problem is, each time test case average time is different.
(ie. i have setted maxElapsedTime 10000ms, for one testcase, now when i build it it build successfully, but next time when i build it gets fail, and require more maxElapsedTime, than i need to again increase that time.
we are using continuous integration also, so it builds 3 or 4 times in the night and build gets failed due to this reason.
can anyone tell me ehy is this happening and how can i solve this?
 
Punit Jain
Ranch Hand
Posts: 1015
2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
please let me know any other information is needed?
can anyone think for this why is this happening?
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34973
379
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why this is happening is going to be specific to your code. All we can recommend is to set the threshold higher and profile/troubleshoot.
 
Punit Jain
Ranch Hand
Posts: 1015
2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jeanne Boyarsky wrote:Why this is happening is going to be specific to your code. All we can recommend is to set the threshold higher and profile/troubleshoot.


already setted 15% higher, you asking for more higher?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic