Skip to content

Commit 4049330

Browse files
committed
add debugging statement + longer sleep to update recording
1 parent 11fc8c6 commit 4049330

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/test/java/org/openapitools/client/api/RecordingsApiTest.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ public void testCallRecordingAndTranscription() throws Exception {
147147
System.out.println(callId);
148148

149149
// Update Recording
150-
TimeUnit.SECONDS.sleep(TEST_SLEEP);
150+
TimeUnit.SECONDS.sleep(TEST_SLEEP * 2);
151151
UpdateCallRecording updateRecording = new UpdateCallRecording();
152152
updateRecording.setState(RecordingStateEnum.PAUSED);
153153

@@ -185,6 +185,9 @@ public void testCallRecordingAndTranscription() throws Exception {
185185
.listCallRecordingsWithHttpInfo(BW_ACCOUNT_ID, callId);
186186
assertThat(listRecordingMetadataResponse.getStatusCode(), is(200));
187187
recordingId = listRecordingMetadataResponse.getData().get(0).getRecordingId();
188+
System.out.println("-----recordingId");
189+
System.out.println(recordingId);
190+
System.out.println("-----");
188191

189192
ApiResponse<CallRecordingMetadata> recordingMetadataResponse = recordingsApi.getCallRecordingWithHttpInfo(
190193
BW_ACCOUNT_ID, callId, recordingId);

0 commit comments

Comments
 (0)