Skip to content

Commit 8a2c13a

Browse files
Rebecca TaylorJustinBeckwith
Rebecca Taylor
authored andcommitted
test: update tests to support inconsistent diarization results (#326)
1 parent 62c250d commit 8a2c13a

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

speech/system-test/betaFeatures.test.js

+2-4
Original file line numberDiff line numberDiff line change
@@ -38,14 +38,12 @@ const stereoUri = 'gs://cloud-samples-tests/speech/commercial_stereo.wav';
3838
describe(`BetaFeatures`, () => {
3939
it('should run speech diarization on a local file', async () => {
4040
const output = await exec(`${cmd} Diarization -f ${monoFilePath}`);
41-
assert.match(output, /speakerTag: 1/);
42-
assert.match(output, /speakerTag: 2/);
41+
assert.match(output, /speakerTag:/);
4342
});
4443

4544
it('should run speech diarization on a GCS file', async () => {
4645
const output = await exec(`${cmd} DiarizationGCS -u ${monoUri}`, cwd);
47-
assert.match(output, /speakerTag: 1/);
48-
assert.match(output, /speakerTag: 2/);
46+
assert.match(output, /speakerTag:/);
4947
});
5048

5149
it('should run multi channel transcription on a local file', async () => {

0 commit comments

Comments
 (0)