Skip to content

Commit

Permalink
temp: lock adb
Browse files Browse the repository at this point in the history
need to investigate issues with 3.12.3
  • Loading branch information
aMahanna committed Nov 25, 2024
1 parent dad1495 commit a60cd85
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion starter.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ docker run -d \
$extra_ports \
-v "$(pwd)/tests/static/":/tests/static \
-v /tmp:/tmp \
"arangodb/$image_name:latest" \
"arangodb/$image_name:3.12.2" \
/bin/sh -c "arangodb --configuration=/tests/static/$conf_file"
4 changes: 3 additions & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,15 @@ def pytest_configure(config: Any) -> None:
print("Username: " + con["username"])
print("Password: " + con["password"])
print("Database: " + con["dbName"])
print("----------------------------------------")

global db
db = ArangoClient(hosts=con["url"]).db(
con["dbName"], con["username"], con["password"], verify=True
)

print("Version: " + db.version())
print("----------------------------------------")

os.environ["DATABASE_HOST"] = con["url"]
os.environ["DATABASE_USERNAME"] = con["username"]
os.environ["DATABASE_PASSWORD"] = con["password"]
Expand Down

0 comments on commit a60cd85

Please sign in to comment.