-
-
Notifications
You must be signed in to change notification settings - Fork 82
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
Ignore error when inserting device to database #889
Ignore error when inserting device to database #889
Conversation
fix: ios tracker process spawned multiple times. fix: periodically check from stale nodes.
…ium-device-farm into fix/ios-processes
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@afathonih Can you please check why the if condition is getting satisfied? Ideally the error is valid, we only need to make sure the filter condition is correct |
This function is working correct, just wrote a test. Can you check why it's not working from your remote execution. |
@saikrishna321 Yes. I'm going to spend a bit more time on this. Looking at the data sent by nodes, there are some loki-related fields included as well. |
There are two issues in the existing implementation:
The fix:
|
…ih/appium-device-farm into fix/device-registration
But, apparently this is the root cause: Example:
new device:
When we search with |
cfda213
into
AppiumTestDistribution:main
Even though there's already a guard to avoid inserting same device into database, the plugin still sees error when adding devices from nodes.
This PR does not fix the root cause. It adds graceful error handling and allows the rest of the devices to be added.