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

Add unit tests for invalid input in NumberTask #3072

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

shobhitagarwal1612
Copy link
Member

Fixes #3071

Adds a unit test for #2921

@anandwana001 PTAL?

@auto-assign auto-assign bot requested a review from gino-m March 20, 2025 10:46
@gino-m
Copy link
Collaborator

gino-m commented Mar 20, 2025

@shobhitagarwal1612 Looks like tests are failing now :(

@shobhitagarwal1612
Copy link
Member Author

The tests are passing locally. Checking CI test logs.

@shobhitagarwal1612
Copy link
Member Author

I was able to reproduce it locally when running the tests using testLocalDebugUnitTest. The tests are taking too long to finish, causing the coroutine to fail.

@shobhitagarwal1612
Copy link
Member Author

I think some of the coroutines are still running in the background, causing the app to not get into idle state.

Compose did not get idle after 3717219 attempts in 60 SECONDS. Please check your measure/layout lambdas, they may be causing an infinite composition loop. Or set Espresso's master idling policy if you require a longer timeout. The following Idle Conditions failed .

@gino-m
Copy link
Collaborator

gino-m commented Apr 8, 2025

Is there a way to check which are hanging?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Code health] Test for NumberTaskData
3 participants