kafka: fix test (#14180)
`logs` can have spaces in it, so just use `testpath` instead.
This commit is contained in:
parent
76073f22d6
commit
0828f4ffd6
1 changed files with 2 additions and 2 deletions
|
@ -89,13 +89,13 @@ class Kafka < Formula
|
|||
|
||||
begin
|
||||
fork do
|
||||
exec "#{bin}/zookeeper-server-start #{testpath}/kafka/zookeeper.properties > #{logs}/test.zookeeper-server-start.log 2>&1"
|
||||
exec "#{bin}/zookeeper-server-start #{testpath}/kafka/zookeeper.properties > #{testpath}/test.zookeeper-server-start.log 2>&1"
|
||||
end
|
||||
|
||||
sleep 15
|
||||
|
||||
fork do
|
||||
exec "#{bin}/kafka-server-start #{testpath}/kafka/server.properties > #{logs}/test.kafka-server-start.log 2>&1"
|
||||
exec "#{bin}/kafka-server-start #{testpath}/kafka/server.properties > #{testpath}/test.kafka-server-start.log 2>&1"
|
||||
end
|
||||
|
||||
sleep 30
|
||||
|
|
Loading…
Reference in a new issue