Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can I run the test locally? #294

Open
Sweetchuck opened this issue Apr 1, 2022 · 0 comments
Open

How can I run the test locally? #294

Sweetchuck opened this issue Apr 1, 2022 · 0 comments

Comments

@Sweetchuck
Copy link

Sweetchuck commented Apr 1, 2022

Latest commit from the devel branch:

commit 00e25f3 (upstream/devel, upstream/HEAD, devel)
Author: jsteemann [email protected]
Date: 2022-02-07 09:45:57 +0100

fix metrics handling after server-side change

with arangodb/arangodb-preview:3.9.0-nightly

image ID: 9452756ce24c and 20036be3c259

docker run -e ARANGO_ROOT_PASSWORD="test" -p 8529:8529 arangodb/arangodb-preview:3.9.0-nightly arangod --database.extended-names-databases true
phpunit --configuration='./tests/phpunit-connection-close.xml' tests/AdminTest.php

There was 1 failure:

1) ArangoDBClient\AdminTest::testGetServerMetrics
Failed asserting that false is true.

/.../tests/AdminTest.php:261

with arangodb/arangodb:3.9.0-noavx

docker run -e ARANGO_ROOT_PASSWORD="test" -p 8529:8529 arangodb/arangodb:3.9.0-noavx arangod --database.extended-names-databases true
phpunit --configuration='./tests/phpunit-connection-close.xml' tests/AdminTest.php

There was 1 failure:

1) ArangoDBClient\AdminTest::testGetServerMetrics
Failed asserting that false is true.

/.../tests/AdminTest.php:261

with arangodb/arangodb:3.8.6

docker run -e ARANGO_ROOT_PASSWORD="test" -p 8529:8529 arangodb/arangodb:3.8.6 arangod
phpunit --configuration='./tests/phpunit-connection-close.xml' tests/AdminTest.php

There were 2 failures:

1) ArangoDBClient\AdminTest::testSetServerLogLevels
should not end up here
Failed asserting that false is true.

/.../tests/AdminTest.php:157

2) ArangoDBClient\AdminTest::testGetServerMetrics
Failed asserting that false is true.

/.../tests/AdminTest.php:261

with arangodb/arangodb:3.7.17

docker run -e ARANGO_ROOT_PASSWORD="test" -p 8529:8529 arangodb/arangodb:3.7.17 arangod
phpunit --configuration='./tests/phpunit-connection-close.xml' tests/AdminTest.php

There was 1 error:

1) ArangoDBClient\AdminTest::testGetServerLogEntries
ArangoDBClient\ServerException: superfluous suffix, expecting /_admin/log/level

/.../lib/ArangoDBClient/Connection.php:721
/.../lib/ArangoDBClient/Connection.php:213
/.../lib/ArangoDBClient/Connection.php:336
/.../lib/ArangoDBClient/Connection.php:214
/.../lib/ArangoDBClient/AdminHandler.php:204
/.../tests/AdminTest.php:169

--

There were 2 failures:

1) ArangoDBClient\AdminTest::testSetServerLogLevels
should not end up here
Failed asserting that false is true.

/.../tests/AdminTest.php:157

2) ArangoDBClient\AdminTest::testGetServerMetrics
Failed asserting that false is true.

/.../tests/AdminTest.php:261

https://app.travis-ci.com/github/arangodb/arangodb-php/jobs/565309583

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant