Forum Discussion

balinta01's avatar
balinta01
Occasional Contributor
13 years ago

Busy Objects

Hi all,



I have prepared a distributed testing however I usually get an error message on the slave computer (in a job when slave and master runs parallel), which says "Unable to perform this action, since the object is busy". What might cause this problem?



Best Regards,

Attila
  • irina_lukina's avatar
    irina_lukina
    Super Contributor

    Hi Attila,


    Most likely, you were trying to run a network suite when it was already running. For instance, the following (or similar) code might be used:



    NetworkSuite.Run(false);

    NetworkSuite.Run(false);


    To avoid such problems, I recommend that you check whether the network suite's run is over before running it again from your test. For instance, you can use the following code:



    NetworkSuite.Run(false);

    NetworkSuite.WaitForState(ns_Idle);

    NetworkSuite.Run(false);


    I hope, this information helps :)