[Asterisk-code-review] testsuite: fix mwi race condition (testsuite[16])

Friendly Automation asteriskteam at digium.com
Thu Sep 8 13:14:44 CDT 2022


Friendly Automation has submitted this change. ( https://gerrit.asterisk.org/c/testsuite/+/19154 )

Change subject: testsuite: fix mwi race condition
......................................................................

testsuite: fix mwi race condition

Increase time between mailbox changes from .25s
to 1s on mailbox_count_changes test to allow
sipp instances time to start and exit

ASTERISK-30214

Change-Id: I833b16398e01ad698f924086013ecba5ecd15399
---
M tests/channels/pjsip/subscriptions/mwi/unsolicited/mailbox_count_changes/mwi_check.py
1 file changed, 16 insertions(+), 1 deletion(-)

Approvals:
  Friendly Automation: Looks good to me, approved; Approved for Submit




diff --git a/tests/channels/pjsip/subscriptions/mwi/unsolicited/mailbox_count_changes/mwi_check.py b/tests/channels/pjsip/subscriptions/mwi/unsolicited/mailbox_count_changes/mwi_check.py
index f5378aa..10a4e4f 100644
--- a/tests/channels/pjsip/subscriptions/mwi/unsolicited/mailbox_count_changes/mwi_check.py
+++ b/tests/channels/pjsip/subscriptions/mwi/unsolicited/mailbox_count_changes/mwi_check.py
@@ -30,7 +30,7 @@
             'OldMessages': mwi['old']
         }
         reactor.callLater(statedelay, testami.sendMessage, message)
-        statedelay += .25
+        statedelay += 1
 
     # delete mailbox after walking states
     LOGGER.info("Deleting Mailbox")

-- 
To view, visit https://gerrit.asterisk.org/c/testsuite/+/19154
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings

Gerrit-Project: testsuite
Gerrit-Branch: 16
Gerrit-Change-Id: I833b16398e01ad698f924086013ecba5ecd15399
Gerrit-Change-Number: 19154
Gerrit-PatchSet: 1
Gerrit-Owner: Michael Bradeen <mbradeen at sangoma.com>
Gerrit-Reviewer: Friendly Automation
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20220908/21915ebb/attachment.html>


More information about the asterisk-code-review mailing list