Skip to content

Fixed test to run transcribe-streaming on weathertop#7904

Open
scmacdon wants to merge 1 commit into
awsdocs:mainfrom
scmacdon:transcribe
Open

Fixed test to run transcribe-streaming on weathertop#7904
scmacdon wants to merge 1 commit into
awsdocs:mainfrom
scmacdon:transcribe

Conversation

@scmacdon
Copy link
Copy Markdown
Contributor

This pull request modified a test to not fail on weather top


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@scmacdon scmacdon self-assigned this May 15, 2026
@scmacdon scmacdon added Java-v2 This issue relates to the AWS SDK for Java V2 Bug An update to fix incorrect code or typos. labels May 15, 2026
// Skip this test if no audio input device is available (e.g., CI environments).
AudioFormat format = new AudioFormat(16000, 16, 1, true, false);
DataLine.Info info = new DataLine.Info(TargetDataLine.class, format);
assumeTrue(AudioSystem.isLineSupported(info), "Skipping: No audio input device available");
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If it's skipping the test, why does it say passed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bug An update to fix incorrect code or typos. Java-v2 This issue relates to the AWS SDK for Java V2

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants