Skip to content

Commit 379f35f

Browse files
authored
Add sleep to allow get call state (#45)
1 parent b28ef93 commit 379f35f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/integration/test_integration.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ def test_create_call_and_get_call_state
113113
assert(response.data.call_id.length > 0, "call_id value not set")
114114

115115
#Get phone call information
116+
sleep 1
116117
response = @bandwidth_client.voice_client.client.get_call(BW_ACCOUNT_ID, response.data.call_id)
117118
assert(response.data.state.length > 0, "state value not set")
118119
end

0 commit comments

Comments
 (0)