Changing how Riak is started in tests.
This commit is contained in:
@@ -47,7 +47,7 @@ class RiakKeyValueTemplateSpec extends Specification {
|
||||
}
|
||||
|
||||
def cleanupSpec() {
|
||||
"/usr/sbin/riak stop".execute()
|
||||
p = "/usr/sbin/riak stop".execute()
|
||||
p.waitFor()
|
||||
}
|
||||
|
||||
|
||||
@@ -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()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user