Skip to content

Commit 1e7d612

Browse files
committed
remove more references to rebirth and rebirth assets
1 parent d1daf23 commit 1e7d612

File tree

4 files changed

+19
-17
lines changed

4 files changed

+19
-17
lines changed

Makefile

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@
1717
PACKAGE_NAME = rethinkdb
1818

1919
PROTO_FILE_NAME = ql2.proto
20-
PROTO_FILE_URL = https://raw.githubusercontent.com/RebirthDB/rebirthdb/next/src/rdb_protocol/${PROTO_FILE_NAME}
20+
PROTO_FILE_URL = https://raw.githubusercontent.com/rethinkdb/rethinkdb/next/src/rdb_protocol/${PROTO_FILE_NAME}
2121
TARGET_PROTO_FILE = ${PACKAGE_NAME}/${PROTO_FILE_NAME}
2222

2323
FILE_CONVERTER_NAME = convert_protofile.py
24-
FILE_CONVERTER_URL = https://raw.githubusercontent.com/RebirthDB/rebirthdb/next/scripts/${FILE_CONVERTER_NAME}
24+
FILE_CONVERTER_URL = https://raw.githubusercontent.com/rethinkdb/rethinkdb/next/scripts/${FILE_CONVERTER_NAME}
2525

2626
REMOTE_TEST_SETUP_NAME = prepare_remote_test.py
27-
REMOTE_TEST_SETUP_URL = https://raw.githubusercontent.com/RebirthDB/rebirthdb/next/scripts/${REMOTE_TEST_SETUP_NAME}
27+
REMOTE_TEST_SETUP_URL = https://raw.githubusercontent.com/rethinkdb/rethinkdb/next/scripts/${REMOTE_TEST_SETUP_NAME}
2828

2929
CONVERTED_PROTO_FILE_NAME = ql2_pb2.py
3030
TARGET_CONVERTED_PROTO_FILE = ${PACKAGE_NAME}/${CONVERTED_PROTO_FILE_NAME}
@@ -48,14 +48,14 @@ test-unit:
4848
pytest -v -m unit
4949

5050
test-integration:
51-
@rebirthdb&
51+
@rethinkdb&
5252
pytest -v -m integration
53-
@killall rebirthdb
53+
@killall rethinkdb
5454

5555
test-ci:
56-
@rebirthdb&
56+
@rethinkdb&
5757
pytest -v --cov rethinkdb --cov-report xml
58-
@killall rebirthdb
58+
@killall rethinkdb
5959

6060
test-remote:
6161
python ${REMOTE_TEST_SETUP_NAME} pytest -m integration

scripts/install-db.sh

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,10 @@ set -u
55

66
export DISTRIB_CODENAME=$(lsb_release -sc)
77

8-
echo "deb https://dl.bintray.com/rebirthdb/apt $DISTRIB_CODENAME main" | sudo tee /etc/apt/sources.list.d/rebirthdb.list
9-
wget -qO- https://dl.bintray.com/rebirthdb/keys/pubkey.gpg | sudo apt-key add -
8+
echo "This currently will not work for rethinkdb. It is in the process of being fixed."
9+
exit 1
10+
echo "deb https://dl.bintray.com/rethinkdb/apt $DISTRIB_CODENAME main" | sudo tee /etc/apt/sources.list.d/rethinkdb.list
11+
wget -qO- https://dl.bintray.com/rethinkdb/keys/pubkey.gpg | sudo apt-key add -
1012

1113
sudo apt-get update --option Acquire::Retries=100 --option Acquire::http::Timeout="300"
12-
sudo apt-get --allow-unauthenticated install rebirthdb --option Acquire::Retries=100 --option Acquire::http::Timeout="300"
14+
sudo apt-get --allow-unauthenticated install rethinkdb --option Acquire::Retries=100 --option Acquire::http::Timeout="300"

tests/helpers.py

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

1212
def connect(self):
1313
self.conn = self.r.connect(
14-
host=self.rebirthdb_host
14+
host=self.rethinkdb_host
1515
)
1616

1717
def setup_method(self):
18-
self.rebirthdb_host=os.getenv('REBIRTHDB_HOST')
18+
self.rethinkdb_host=os.getenv('RETHINKDB_HOST')
1919

2020
self.connect()
2121

tests/integration/test_ping.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,19 @@
1010
@pytest.mark.integration
1111
class TestPing(IntegrationTestCaseBase):
1212
def teardown_method(self):
13-
with self.r.connect(host=self.rebirthdb_host) as conn:
13+
with self.r.connect(host=self.rethinkdb_host) as conn:
1414
self.r.db("rethinkdb").table("users").filter(
1515
self.r.row["id"].ne("admin")
1616
).delete().run(conn)
1717
super(TestPing, self).teardown_method()
1818

1919
def test_bad_password(self):
2020
with pytest.raises(self.r.ReqlAuthError):
21-
self.r.connect(password=BAD_PASSWORD, host=self.rebirthdb_host)
21+
self.r.connect(password=BAD_PASSWORD, host=self.rethinkdb_host)
2222

2323
def test_password_connect(self):
2424
new_user = "user"
25-
with self.r.connect(user="admin", password="", host=self.rebirthdb_host) as conn:
25+
with self.r.connect(user="admin", password="", host=self.rethinkdb_host) as conn:
2626
curr = self.r.db("rethinkdb").table("users").insert(
2727
{"id": new_user, "password": BAD_PASSWORD}
2828
).run(conn)
@@ -40,7 +40,7 @@ def test_password_connect(self):
4040
{
4141
'new_val': {'read': True},
4242
'old_val': None}]}
43-
with self.r.connect(user=new_user, password=BAD_PASSWORD, host=self.rebirthdb_host) as conn:
43+
with self.r.connect(user=new_user, password=BAD_PASSWORD, host=self.rethinkdb_host) as conn:
4444
curr = self.r.db("rethinkdb").table("users").get("admin").run(conn)
4545
assert curr == {'id': 'admin', 'password': False}
4646
with pytest.raises(self.r.ReqlPermissionError):
@@ -49,6 +49,6 @@ def test_password_connect(self):
4949
).run(conn)
5050

5151
def test_context_manager(self):
52-
with self.r.connect(host=self.rebirthdb_host) as conn:
52+
with self.r.connect(host=self.rethinkdb_host) as conn:
5353
assert conn.is_open() is True
5454
assert conn.is_open() is False

0 commit comments

Comments
 (0)