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

[tests] Clear adb log after running the test #5164

Conversation

radekdoulik
Copy link
Member

@radekdoulik radekdoulik commented Sep 29, 2020

To make sure we don't get activity displayed message from previous run.

WaitForActivityToStart doesn't know the PID, so it can match the
previous run.

I was curious why CI test run doesn't show the crash I see when running
manualy on hardware device. Let see whether it will catch it with this
change.

Update: it works and the tests fails now as it should. Opened issue
#5166,
which should be fixed by
#5145

To make sure we don't get activity displayed message from previous run.
`WaitForActivityToStart` doesn't know the `PID`, so it can match
previous run.
I was curious why CI test run doesn't show crash I see when running
manualy on hardware device. Let see whether it will catch it with this
change.
This way it should be cleared after every test and we will not
potentialy loose logcat output of emulator startup in the first test
run on fresh started emulator.
@radekdoulik radekdoulik changed the title [tests] Clear adb log before running the test [tests] Clear adb log after running the test Sep 30, 2020
@radekdoulik radekdoulik merged commit 9a89cb1 into dotnet:master Oct 1, 2020
@github-actions github-actions bot locked and limited conversation to collaborators Jan 27, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants