2014-11-03 59 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。