| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
Can you add a system test to exercise this fix? |
Sorry, something went wrong.
|
@dhermes added speech_context to the system test. system-tests runtests: commands[1] | python /Users/daspecster/Documents/google/google-cloud-py/system_tests/attempt_system_tests.py speech
test_async_recognize_gcs_file (speech.TestSpeechClient) ... _operation_complete. Trying again in 1 seconds...
_operation_complete. Trying again in 2 seconds...
_operation_complete. Trying again in 4 seconds...
ok
test_async_recognize_local_file (speech.TestSpeechClient) ... _operation_complete. Trying again in 1 seconds...
_operation_complete. Trying again in 2 seconds...
_operation_complete. Trying again in 4 seconds...
ok
test_stream_recognize (speech.TestSpeechClient) ... ok
test_stream_recognize_interim_results (speech.TestSpeechClient) ... ok
test_stream_recognize_single_utterance (speech.TestSpeechClient) ... ok
test_sync_recognize_gcs_file (speech.TestSpeechClient) ... ok
test_sync_recognize_local_file (speech.TestSpeechClient) ... ok
409 The bucket you tried to delete was not empty. (DELETE https://www.googleapis.com/storage/v1/b/new_1478803671769), Trying again in 1 seconds...
----------------------------------------------------------------------
Ran 7 tests in 33.971s
OK
E1110 13:48:35.789352000 140736417121216 network_status_tracker.c:48] Memory leaked as all network endpoints were not shut down
_____________________________________________________ summary _____________________________________________________
system-tests: commands succeeded
congratulations :) |
Sorry, something went wrong.
|
LGTM once CIs go green? Did you run $ tox -e system-tests -- speech $ GOOGLE_CLOUD_DISABLE_GRPC=true tox -e system-tests -- speech to verify? UPDATE: Jinx |
Sorry, something went wrong.
|
@dhermes the tests would just get skipped since streaming only works with gRPC anyway. |
Sorry, something went wrong.
…ng-speech-context-bug Fix bug with speech streaming speech_context.
…context-bug Fix bug with speech streaming speech_context.
…context-bug Fix bug with speech streaming speech_context.
…context-bug Fix bug with speech streaming speech_context.
| Back | FazBrowse Home | New Git URL |
I believe this is the correct resolution to
mentioned in #2522.
Speech streaming wasn't converting the list of hints to an instance of SpeechContext before flight.