mirror of
https://github.com/priyanshujain/sanderling.git
synced 2026-10-02 19:17:10 +00:00
fix(runner): fatal on permanent WDA drop during hierarchy fetch
This commit is contained in:
1 parent
6bc3de1241
commit
0f1f3eb457
1 file changed
+3
@@ -106,6 +106,9 @@ func Run(ctx context.Context, options Options) (Summary, error) {
|
||||
g.Wait()
|
||||
|
||||
if hierarchyErr != nil {
|
||||
if isWDADrop(hierarchyErr) {
|
||||
return summary, fmt.Errorf("WDA connection permanently lost at step %d - re-run the test: %w", stepIndex, hierarchyErr)
|
||||
}
|
||||
logger.Warn("hierarchy fetch failed", "step", stepIndex, "err", hierarchyErr)
|
||||
}
|
||||
treeSize := 0
|
||||
|
||||
Reference in new issue
Block a user