@@ -6,19 +6,20 @@ import esw.testcommons.BaseTestSuite
66
77class MainTest extends BaseTestSuite {
88
9- " verify esw-shell compiles and starts successfully" ignore {
10- val channel = " https://raw.githubusercontent.com/tmtsoftware/osw-apps/branch-6.0.x/apps.json"
11- val version = " 0.1.0-SNAPSHOT"
12- val commands = List (" cs" , " launch" , " --channel" , channel, s " esw-shell: $version" )
13- val processBuilder = new ProcessBuilder (commands* )
14- val process = processBuilder.start()
15- Thread .sleep(10000 )
16- assert(process.isAlive, " esw-shell failed to start!" )
9+ " esw-shell" must {
10+ " verify, compile and start successfully" in {
11+ val channel = " https://raw.githubusercontent.com/tmtsoftware/osw-apps/branch-6.0.x/apps.json"
12+ val version = " 0.1.0-SNAPSHOT"
13+ val commands = List (" cs" , " launch" , " --channel" , channel, s " esw-shell: $version" )
14+ val processBuilder = new ProcessBuilder (commands* )
15+ val process = processBuilder.start()
16+ Thread .sleep(10000 )
17+ assert(process.isAlive, " esw-shell failed to start!" )
1718
18- process.descendants().map(_.destroyForcibly())
19- process.destroyForcibly().waitFor(30 , TimeUnit .SECONDS )
19+ process.descendants().map(_.destroyForcibly())
20+ process.destroyForcibly().waitFor(30 , TimeUnit .SECONDS )
2021
21- assert(! process.isAlive, " esw-shell process did not terminate within 10 seconds!" )
22+ assert(! process.isAlive, " esw-shell process did not terminate within 10 seconds!" )
23+ }
2224 }
23-
2425}
0 commit comments