mirror of
https://github.com/planetmint/planetmint.git
synced 2025-11-25 15:05:49 +00:00
Fix make test issue - unhealthy planetmint container because non-init of tarantool spaces
Signed-off-by: Sangat Das <sangatdas5@gmail.com>
This commit is contained in:
parent
6a243743f4
commit
fe5afa5a7a
@ -4,6 +4,7 @@ LABEL maintainer "contact@ipdb.global"
|
||||
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y git zsh\
|
||||
&& apt-get install -y tarantool-common\
|
||||
&& pip install -U pip \
|
||||
&& apt-get autoremove \
|
||||
&& apt-get clean
|
||||
@ -15,7 +16,7 @@ ARG abci_status
|
||||
# to force stdin, stdout and stderr to be totally unbuffered and to capture logs/outputs
|
||||
ENV PYTHONUNBUFFERED 0
|
||||
|
||||
ENV PLANETMINT_DATABASE_PORT 27017
|
||||
ENV PLANETMINT_DATABASE_PORT 3303
|
||||
ENV PLANETMINT_DATABASE_BACKEND $backend
|
||||
ENV PLANETMINT_SERVER_BIND 0.0.0.0:9984
|
||||
ENV PLANETMINT_WSSERVER_HOST 0.0.0.0
|
||||
|
||||
@ -63,7 +63,7 @@ class TarantoolDB:
|
||||
import subprocess
|
||||
print(f" commands: {command}")
|
||||
ret = subprocess.Popen(
|
||||
['%s %s:%s < %s' % ("tarantoolctl connect", "localhost", "3303", command)],
|
||||
['%s %s:%s < %s' % ("tarantoolctl connect", self.host, self.port, command)],
|
||||
stdin=subprocess.PIPE,
|
||||
stdout=subprocess.PIPE,
|
||||
universal_newlines=True,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user