Hello All,<div><br></div><div>I am using SIPPTest class to write my own test cases in the asterisk testsuite. In most of the cases, run-test looks as follows</div><div><br></div><div><<<<<<</div><div><br>
</div><div><div>SIPP_SCENARIOS = [</div><div> {'scenario' : 'uas.xml',},</div><div> {'scenario' : 'uac.xml',},</div><div> </div><div>]</div><div><br></div><div><br></div><div>def main():</div>
<div> test = SIPpTest(WORKING_DIR, TEST_DIR, SIPP_SCENARIOS)</div><div> reactor.run()</div><div> if not test.passed:</div><div> return 1</div><div><br></div><div> return 0</div></div><div><br></div><div>
>>>>>></div><div><br></div><div>All of my cases need Asterisk to go to the diaplan, but i have observed that somtimes, my SIPP test cases start running before asterisk has even loaded the dialplan, which causes testcas to fail.</div>
<div><br></div><div>Is there any work around for this situation.</div><div><br></div><div>Thanks in advance for your replies.</div><div><br></div><div>Regards,</div><div>Nitesh Bansal</div>