Skip to content

Commit 00ae565

Browse files
committed
Fix some other missing piece
1 parent 1fd4d58 commit 00ae565

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

scripts/prepare_remote_test.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -139,9 +139,9 @@ def install_rebirthdb(self):
139139
self._execute_command('source /etc/lsb-release && echo "deb https://dl.bintray.com/{username}/apt $DISTRIB_CODENAME main" | tee /etc/apt/sources.list.d/rebirthdb.list'.format(username=BINTRAY_USERNAME))
140140
self._execute_command('wget -qO- https://dl.bintray.com/{username}/keys/pubkey.gpg | apt-key add -'.format(username=BINTRAY_USERNAME))
141141

142-
self._print_info('installing rebirthdb')
143-
self._execute_command('apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y rebirthdb')
144-
self._execute_command('echo "bind=all" > /etc/rebirthdb/instances.d/default.conf')
142+
self._print_info('installing rethinkdb')
143+
self._execute_command('apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install --allow-unauthenticated -y rethinkdb')
144+
self._execute_command('echo "bind=all" > /etc/rethinkdb/instances.d/default.conf')
145145

146146
def start_rebirthdb(self):
147147
self._print_info('restarting rebirthdb')

tests/helpers.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ class IntegrationTestCaseBase(object):
1010

1111
def connect(self):
1212
self.conn = r.connect(
13-
host=rethinkdb_host
13+
host=self.rethinkdb_host
1414
)
1515

1616
def setup_method(self):
17-
rethinkdb_host=os.getenv('RETHINKDB_HOST')
17+
self.rethinkdb_host=os.getenv('RETHINKDB_HOST')
1818

1919
self.connect()
2020

0 commit comments

Comments
 (0)