Skip to content

How can I run the test locally? #294

Open
@Sweetchuck

Description

@Sweetchuck

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions