Skip to content

Commit 81fa2ac

Browse files
committed
use different root user passwd
1 parent 0bdc93b commit 81fa2ac

File tree

3 files changed

+4
-16
lines changed

3 files changed

+4
-16
lines changed

.travis.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,5 @@ before_script:
1818
- ./tests/travis/setup_arangodb.sh
1919

2020
script:
21-
- ./phpunit --configuration ./tests/phpunit-connection-close.xml
22-
- ./phpunit --configuration ./tests/phpunit-connection-keep-alive.xml
23-
24-
after_script:
25-
- ./tests/travis/teardown_arangodb.sh
21+
- ARANGO_ROOT_PASSWORD="test" ./phpunit --configuration ./tests/phpunit-connection-close.xml
22+
- ARANGO_ROOT_PASSWORD="test" ./phpunit --configuration ./tests/phpunit-connection-keep-alive.xml

tests/travis/setup_arangodb.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,14 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
3636
cd $DIR
3737

3838
docker pull arangodb/arangodb-preview:nightly.devel
39-
docker run -d -e ARANGO_ROOT_PASSWORD="" -p 8529:8529 arangodb/arangodb-preview:nightly.devel
39+
docker run -d -e ARANGO_ROOT_PASSWORD="test" -p 8529:8529 arangodb/arangodb-preview:nightly.devel
4040

4141
sleep 2
4242

4343
n=0
4444
# timeout value for startup
4545
timeout=60
46-
while [[ (-z `curl -H 'Authorization: Basic cm9vdDo=' -s 'http://127.0.0.1:8529/_api/version' `) && (n -lt timeout) ]] ; do
46+
while [[ (-z `curl -H 'Authorization: Basic cm9vdDp0ZXN0' -s 'http://127.0.0.1:8529/_api/version' `) && (n -lt timeout) ]] ; do
4747
echo -n "."
4848
sleep 1s
4949
n=$[$n+1]

tests/travis/teardown_arangodb.sh

Lines changed: 0 additions & 9 deletions
This file was deleted.

0 commit comments

Comments
 (0)