I want to test concurrence issues by starting to processes on the same agent. I can't seem to get the harness to start a second process on the same agent while the first is still running. I am pushed QAT too hard? Have you ever done this?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This should be no problem for QAT, as it's a normal thing to do when testing.
Essentially the CMDSTART is non-blocking, you can call multiple instances of CMDSTART one after the other, even on the same agent.
But everytime you call CMDSTATUS, it will block the agent until either
a)timeout on the process or
b)the process exits
So just be sure you don't do :
CMDSTART 1
CMDSTATUS 1
CMDSTART 2
CMDSTATUS 2
but instead
CMDSTART 1
CMDSTART2
CMDSTATUS 1
CMDSTATUS 2
Hope this helps.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I want to test concurrence issues by starting to processes on the same agent. I can't seem to get the harness to start a second process on the same agent while the first is still running. I am pushed QAT too hard? Have you ever done this?
This should be no problem for QAT, as it's a normal thing to do when testing.
Essentially the CMDSTART is non-blocking, you can call multiple instances of CMDSTART one after the other, even on the same agent.
But everytime you call CMDSTATUS, it will block the agent until either
a)timeout on the process or
b)the process exits
So just be sure you don't do :
CMDSTART 1
CMDSTATUS 1
CMDSTART 2
CMDSTATUS 2
but instead
CMDSTART 1
CMDSTART2
CMDSTATUS 1
CMDSTATUS 2
Hope this helps.