-
-
Notifications
You must be signed in to change notification settings - Fork 123
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
fix(ios): add xcode timeout result parsing #985
base: develop
Are you sure you want to change the base?
fix(ios): add xcode timeout result parsing #985
Conversation
Thanks for sending this. Can you please double check if timeout case produces 0 value in the TemporalTestResult please? |
Ok, I have been running some tests and debugging the solution. I did not finish but wanted to register the progress here and let you know the status. TemporalTestResultYes, this use case produces a value of 0 for the The problem seems to be in the ...
for (line in session.stdout) {
testEventProducer.process(line)?.let {
send(it)
}
lineListeners.forEach { it.onLine(line) }
}
... The test is then detected as if (uncompleted.isNotEmpty()) {
uncompleted.forEach {
logger.warn { "uncompleted = ${it.test.toTestName()}, ${device.serialNumber}" }
}
} There I could print the Fill
|
After checking again, it seems the |
@Malinskiy can we proceed with the PR? |
The
TestRunProgressParser
is reading the xcrun logs to detect the end time and calculate the start time. However, when a timeout is defined from XCode and this timeout is triggered, the log looks like:Resulting on the parser not being able to correctly identified what happened.
This PR implements an extra case in the
TestRunProgressParser
to match this case and fix the issue reported here