2014-11-03 56 views
0

我们有一个play2.3.​​4代码库,有很多specs2测试。当我切换到0.13.7-RC2时,测试突然不运行,它们只是挂起。SBT 0.13.7-RC2挂起(窗口)

sbt --debug给出了下面的输出,然后就停止(与CPU活动< 1%)

[debug] Framework implementation 'org.scalacheck.ScalaCheckFramework' not present. 
[debug] Framework implementation 'org.specs.runner.SpecsFramework' not present. 
[debug] Framework implementation 'org.scalatest.tools.Framework' not present. 
[debug] Framework implementation 'org.scalatest.tools.ScalaTestFramework' not present. 
[debug] Subclass fingerprints: List((junit.framework.TestCase,false,[email protected]), (org.specs2.specification.SpecificationStructure,true,specs2 Specification fingerprint), (org.specs2.specification.SpecificationStructure,false,specs2 Specification fingerprint), (org.specs2.runner.FilesRunner,true,specs2 Specification files fingerprint), (org.specs2.runner.FilesRunner,false,specs2 Specification files fingerprint)) 
[debug] Annotation fingerprints: List((org.junit.runner.RunWith,false,[email protected]), (org.junit.Test,false,[email protected])) 

这到底是怎么回事?我如何解决这个问题?

+0

我运行'jstack'来查看线程是否挂起,并且测试依赖项下载了一个大文件。 testplugin没有报告任何活动。 – Jaap 2014-11-03 21:31:06

回答

1

我跑jstack看看线程是否挂起,并且有一个测试依赖项下载一个大文件。 testplugin没有报告任何活动。

您可以使用jps找到javaproces的PID。