-
Notifications
You must be signed in to change notification settings - Fork 1
SWI-3665 Update SDK Based on Recent Spec Changes #102
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
need to add tests first
Putting this in draft - we cant add tests till GET /calls goes GA on 8/9 |
@@ -61,7 +62,7 @@ public class CallsApiTest { | |||
private static CallbackMethodEnum callbackMethod = CallbackMethodEnum.POST; | |||
private static String testCallId = "Call-Id"; | |||
private static String testXmlBody = "<?xml version=\"1.0\" encoding=\"UTF-8\"?><Bxml><SpeakSentence locale=\"en_US\" gender=\"female\" voice=\"susan\">This is a test bxml response</SpeakSentence><Pause duration=\"3\"/></Bxml>"; | |||
private static int TEST_SLEEP = 3; | |||
private static int TEST_SLEEP = 6; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we want to set this to 40 to mimic voice api teams alarm, right @ckoegel ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this one should also be fine cause we use it in multiple spots, we should just update the sleep for get call state to be 40s
@@ -62,8 +62,8 @@ public class ConferencesApiTest { | |||
private static URI answerUrl; | |||
private static URI conferenceRedirectUrl; | |||
private static String updateRecordingBxml = "<?xml version=\"1.0\" encoding=\"UTF-8\"?><Bxml><StartRecording/><SpeakSentence locale=\"en_US\" gender=\"female\" voice=\"susan\">This should be a conference recording.</SpeakSentence><StopRecording/></Bxml>"; | |||
private static int TEST_SLEEP = 3; | |||
private static int MAX_RETRIES = 40; | |||
private static int TEST_SLEEP = 6; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here, set the sleep to 40 and dont retry.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here I believe this is used for waiting for the recording to finish, so we want to sleep less and retry to poll manteca
Co-authored-by: Cameron Koegel <53310569+ckoegel@users.noreply.github.com>
Auto-generated by Update SDK Workflow