Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Instrumented tests for VoiceRecorders are a bit flaky #6329

Closed
jmartinesp opened this issue Jun 16, 2022 · 0 comments · Fixed by #6330
Closed

Instrumented tests for VoiceRecorders are a bit flaky #6329

jmartinesp opened this issue Jun 16, 2022 · 0 comments · Fixed by #6330
Assignees
Labels
A-DevX Anything that can improve the DevX T-Defect Something isn't working: bugs, crashes, hangs and other reported problems Z-Tests

Comments

@jmartinesp
Copy link
Member

Steps to reproduce

Run vector's androidTest, sometimes im.vector.app.features.voice tests fail for no good reason. As those rely on Android APIs such as AudioRecorder and VoiceRecorder and some JNI code, timing can be tricky while testing.

Outcome

What did you expect?

Those tests to always pass.

What happened instead?

They fail sometimes.

Your phone model

Emulator

Operating system version

Android 9.0

Application version and app store

No response

Homeserver

No response

Will you send logs?

No

Are you willing to provide a PR?

Yes

@jmartinesp jmartinesp added the T-Defect Something isn't working: bugs, crashes, hangs and other reported problems label Jun 16, 2022
@jmartinesp jmartinesp self-assigned this Jun 16, 2022
@jmartinesp jmartinesp changed the title Insturmented tests for VoiceRecorders are a bit flaky Instrumented tests for VoiceRecorders are a bit flaky Jun 16, 2022
@ouchadam ouchadam added Z-Tests A-DevX Anything that can improve the DevX labels Jun 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-DevX Anything that can improve the DevX T-Defect Something isn't working: bugs, crashes, hangs and other reported problems Z-Tests
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants