Skip to content

Commit e428161

Browse files
committed
Updated and removed "ignore" keyword.
1 parent 1c191fd commit e428161

File tree

1 file changed

+13
-12
lines changed

1 file changed

+13
-12
lines changed

esw-integration-test/src/test/scala/esw/shell/MainTest.scala

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,20 @@ import esw.testcommons.BaseTestSuite
66

77
class 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

Comments
 (0)