Giter Club home page Giter Club logo

Comments (17)

electricbubble avatar electricbubble commented on June 14, 2024

访问 /status 死掉是什么现象?请求超时?请求报错? xctest 被中断需要重启?

过阵子访问又可以?xctest 执行未被中断?只是等待一段时间后,wda 请求就恢复正常?

在这现象出现期间,xctest 会有 out 消息吗?


gidevicev0.5.1 之前还是之后的版本?

iOS 是什么版本?

from gidevice.

ZhouYixun avatar ZhouYixun commented on June 14, 2024

访问 /status 死掉是什么现象?请求超时?请求报错? xctest 被中断需要重启?

过阵子访问又可以?xctest 执行未被中断?只是等待一段时间后,wda 请求就恢复正常?

在这现象出现期间,xctest 会有 out 消息吗?

gidevicev0.5.1 之前还是之后的版本?

iOS 是什么版本?

访问/status是超时。然后过阵子访问又正常了,返回wda相关的信息。
这期间的out没有东西。

最近几个版本的,具体哪个版本真的不清楚。。
ios是15.1和15.5

from gidevice.

electricbubble avatar electricbubble commented on June 14, 2024

麻烦提供 /status 请求超时的具体信息 和 gidevice 的版本

from gidevice.

ZhouYixun avatar ZhouYixun commented on June 14, 2024

7a55b76 貌似这次之后出现的,我这几天还没有测试机,不过我那边挺多用户反馈会超时,我只能过几天再看看咋回事

from gidevice.

electricbubble avatar electricbubble commented on June 14, 2024

最好验证下和 v0.5.1 有没有关系

from gidevice.

ZhouYixun avatar ZhouYixun commented on June 14, 2024

0.5.0-0.5.2都一样
status:
image
xctest log:
image

我怀疑是我转发的时候出错。
但是我有尝试用gidevice-cli的forward一样不行

from gidevice.

electricbubble avatar electricbubble commented on June 14, 2024

提供复现环境与步骤

from gidevice.

ZhouYixun avatar ZhouYixun commented on June 14, 2024

提供复现环境与步骤

直接在gidevice的测试类运行了xctest,另外一边用了转发端口,然后浏览器每隔十秒访问一次status

from gidevice.

electricbubble avatar electricbubble commented on June 14, 2024

我直接使用了 gidevice-cli v0.8.0

20分钟执行无异常

gidevice forward -l=18100 -r=8100
COUNT=0 && while true ; do COUNT=`expr ${COUNT} + 1` && echo "[${COUNT}] 👇 $(date +%H:%M:%S) 👇" && curl -w "time_namelookup: %{time_namelookup}\ntime_connect: %{time_connect}\ntime_pretransfer: %{time_pretransfer}\ntime_starttransfer: %{time_starttransfer}\ntime_total: %{time_total}\n\n" -o /dev/null -s -L "http://localhost:18100/status" && sleep 10; done;

image

image

from gidevice.

ZhouYixun avatar ZhouYixun commented on June 14, 2024

跟你一样,执行了xctest和forward也是不行,你是用什么wda?

from gidevice.

electricbubble avatar electricbubble commented on June 14, 2024

appium/WebDriverAgent

from gidevice.

ZhouYixun avatar ZhouYixun commented on June 14, 2024

appium/WebDriverAgent

那就好奇怪了,我两台都是这个情况,用你的cli或者我的程序都是这样。。。

from gidevice.

electricbubble avatar electricbubble commented on June 14, 2024

数据线?

from gidevice.

ZhouYixun avatar ZhouYixun commented on June 14, 2024

数据线?

原装的,应该不存在这个问题才对

from gidevice.

ZhouYixun avatar ZhouYixun commented on June 14, 2024

数据线?

我写法是一个xctest启动,两个协程负责forward的,也没有问题啊。。你的ios是国行?

from gidevice.

ZhouYixun avatar ZhouYixun commented on June 14, 2024

能看下你appium的iosdriver启动参数吗?感觉也有可能是这里造成

from gidevice.

ZhouYixun avatar ZhouYixun commented on June 14, 2024

确认是wda偶现的问题,多次操作tap或者swipe会这样,我找到原因再reopen吧

from gidevice.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.