Changing how Riak is started in tests.

This commit is contained in:
J. Brisbin
2010-12-09 13:28:56 -06:00
parent b2f1bbd8e0
commit ab7d8850ae
2 changed files with 3 additions and 3 deletions

View File

@@ -47,7 +47,7 @@ class RiakKeyValueTemplateSpec extends Specification {
}
def cleanupSpec() {
"/usr/sbin/riak stop".execute()
p = "/usr/sbin/riak stop".execute()
p.waitFor()
}

View File

@@ -41,13 +41,13 @@ class RiakTemplateSpec extends Specification {
@Shared def p
def setupSpec() {
p = "$riakBin start".execute()
p = "/usr/sbin/riak start".execute()
p.waitFor()
Thread.sleep(2000)
}
def cleanupSpec() {
"$riakBin stop".execute()
p = "/usr/sbin/riak stop".execute()
p.waitFor()
}