首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Circleci macOS盒太低,不能运行Detox吗?

Circleci macOS盒太低,不能运行Detox吗?
EN

Stack Overflow用户
提问于 2018-05-09 08:19:50
回答 1查看 561关注 0票数 5

我已经在排毒回购这里上创造了一个问题。

我有一个使用取笑排毒测试的ResiveNative应用程序。

在本地,Detox测试运行时没有问题(在其他dev机器上也检查了是否正常)。但是,在macOS盒上运行奇尔克西时,它们从未通过。

Detox的调试输出使它看起来像是在模拟器上安装了最初的应用程序之后,Detox永远都很忙,但在这一点上没有任何进展。

有关版本涉及:

  • 排毒: 7.3.3
  • 反应本地人: 0.55.1
  • 节点: 8.9.1
  • 装置: iPhone 7 (11.2)
  • Xcode: 9.2.0
  • macOS: 10.12.6

排毒记录的片段一旦到达“挂起”状态:

代码语言:javascript
复制
    detox verb ws
    detox verb ws send: {"type":"reactNativeReload","params":{},"messageId":-1000}
    detox verb ws send: {"type":"currentStatus","params":{},"messageId":4}
    detox verb ws onMessage: {"type":"currentStatusResult","messageId":4,"params":{"state":"busy","resources":[{"name":"Dispatch Queue","info":{"queue":"<OS_dispatch_queue_main: com.apple.main-thread[0x1112b9dc0] = { xref = -2147483648, ref = -2147483648, sref = 1, target = com.apple.root.default-qos.overcommit[0x1112bb300], width = 0x1, state = 0x001ffe9e00000400, dirty, max qos 6, in-flight = 0, thread = 0x403 }>","prettyPrint":"com.apple.main-thread"}}],"messageId":4}}
    detox verb ws
    detox info Sync Dispatch Queue: com.apple.main-thread
    detox verb ws send: {"type":"currentStatus","params":{},"messageId":5}
    detox verb ws onMessage: {"type":"currentStatusResult","messageId":5,"params":{"state":"busy","resources":[{"name":"Dispatch Queue","info":{"queue":"<OS_dispatch_queue_main: com.apple.main-thread[0x1112b9dc0] = { xref = -2147483648, ref = -2147483648, sref = 1, target = com.apple.root.default-qos.overcommit[0x1112bb300], width = 0x1, state = 0x001ffe9e00000400, dirty, max qos 6, in-flight = 0, thread = 0x403 }>","prettyPrint":"com.apple.main-thread"}}],"messageId":5}}
    detox verb ws
    detox info Sync Dispatch Queue: com.apple.main-thread
    detox verb ws send: {"type":"currentStatus","params":{},"messageId":6}
    detox verb ws onMessage: {"type":"currentStatusResult","messageId":6,"params":{"state":"busy","resources":[{"name":"Dispatch Queue","info":{"queue":"<OS_dispatch_queue_main: com.apple.main-thread[0x1112b9dc0] = { xref = -2147483648, ref = -2147483648, sref = 1, target = com.apple.root.default-qos.overcommit[0x1112bb300], width = 0x1, state = 0x001ffe9e00000400, dirty, max qos 6, in-flight = 0, thread = 0x403 }>","prettyPrint":"com.apple.main-thread"}}],"messageId":6}}
    detox verb ws
    detox info Sync Dispatch Queue: com.apple.main-thread
    detox verb ws send: {"type":"currentStatus","params":{},"messageId":7}
    detox verb ws onMessage: {"type":"currentStatusResult","messageId":7,"params":{"state":"busy","resources":[{"name":"Dispatch Queue","info":{"queue":"<OS_dispatch_queue_main: com.apple.main-thread[0x1112b9dc0] = { xref = -2147483648, ref = -2147483648, sref = 1, target = com.apple.root.default-qos.overcommit[0x1112bb300], width = 0x1, state = 0x001ffe9e00000400, dirty, max qos 6, in-flight = 0, thread = 0x403 }>","prettyPrint":"com.apple.main-thread"}}],"messageId":7}}
    detox verb ws
    detox info Sync Dispatch Queue: com.apple.main-thread
    detox verb ws send: {"type":"currentStatus","params":{},"messageId":8}
    detox verb ws onMessage: {"type":"currentStatusResult","messageId":8,"params":{"state":"busy","resources":[{"name":"Dispatch Queue","info":{"queue":"<OS_dispatch_queue_main: com.apple.main-thread[0x1112b9dc0] = { xref = -2147483648, ref = -2147483648, sref = 1, target = com.apple.root.default-qos.overcommit[0x1112bb300], width = 0x1, state = 0x001ffe9e00000400, dirty, max qos 6, in-flight = 0, thread = 0x403 }>","prettyPrint":"com.apple.main-thread"}}],"messageId":8}}
    detox verb ws
    detox info Sync Dispatch Queue: com.apple.main-thread
    detox verb ws send: {"type":"currentStatus","params":{},"messageId":9}
    detox verb ws onMessage: {"type":"currentStatusResult","messageId":9,"params":{"state":"busy","resources":[{"name":"Dispatch Queue","info":{"queue":"<OS_dispatch_queue_main: com.apple.main-thread[0x1112b9dc0] = { xref = -2147483648, ref = -2147483648, sref = 1, target = com.apple.root.default-qos.overcommit[0x1112bb300], width = 0x1, state = 0x001ffe9e00000400, dirty, max qos 6, in-flight = 0, thread = 0x403 }>","prettyPrint":"com.apple.main-thread"}}],"messageId":9}}
    detox verb ws
    detox info Sync Dispatch Queue: com.apple.main-thread
    detox verb ws send: {"type":"currentStatus","params":{},"messageId":10}
    detox verb ws onMessage: {"type":"currentStatusResult","messageId":10,"params":{"state":"busy","resources":[{"name":"Dispatch Queue","info":{"queue":"<OS_dispatch_queue_main: com.apple.main-thread[0x1112b9dc0] = { xref = -2147483648, ref = -2147483648, sref = 1, target = com.apple.root.default-qos.overcommit[0x1112bb300], width = 0x1, state = 0x001ffe9e00000400, dirty, max qos 6, in-flight = 0, thread = 0x403 }>","prettyPrint":"com.apple.main-thread"}}],"messageId":10}}
    detox verb ws
    detox info Sync Dispatch Queue: com.apple.main-thread
    detox verb ws send: {"type":"currentStatus","params":{},"messageId":11}
    detox verb ws onMessage: {"type":"currentStatusResult","messageId":11,"params":{"state":"busy","resources":[{"name":"Dispatch Queue","info":{"queue":"<OS_dispatch_queue_main: com.apple.main-thread[0x1112b9dc0] = { xref = -2147483648, ref = -2147483648, sref = 1, target = com.apple.root.default-qos.overcommit[0x1112bb300], width = 0x1, state = 0x001ffe9e00000400, dirty, max qos 6, in-flight = 0, thread = 0x403 }>","prettyPrint":"com.apple.main-thread"}}],"messageId":11}}
    detox verb ws
    detox info Sync Dispatch Queue: com.apple.main-thread
    detox verb ws send: {"type":"currentStatus","params":{},"messageId":12}
    detox verb ws onMessage: {"type":"currentStatusResult","messageId":12,"params":{"state":"busy","resources":[{"name":"Dispatch Queue","info":{"queue":"<OS_dispatch_queue_main: com.apple.main-thread[0x1112b9dc0] = { xref = -2147483648, ref = -2147483648, sref = 1, target = com.apple.root.default-qos.overcommit[0x1112bb300], width = 0x1, state = 0x001ffe9e00000400, dirty, max qos 6, in-flight = 0, thread = 0x403 }>","prettyPrint":"com.apple.main-thread"}}],"messageId":12}}

我的问题是: Detox是否因为运行在Circleci上的低资源(计算)环境而挂起(有人在Circleci上有一个大型的Detox套件)?

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2018-05-15 13:11:28

将Nodejs版本降级为< 8.8,现在所有这些都按预期运行。

票数 2
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/50248654

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档