You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
4 unit tests fail when running as the root user on Ubuntu 20.04. This may be acceptable, but it may be helpful to document this.
Excerpt of the unit test logs:
// ...
⨯ test throw error reading read-only database
not ok 1541 should get error reading read only database
// ...
not ok 1542 should get io error
// ...
✓ test read from a read-only database if readOnly is true
⨯ test throw error reading read-only database if readOnly is false
not ok 1546 should get error reading read only database
// ...
not ok 1547 should get io error
// ...
# tests 1637
# pass 1633
⨯ fail 4
Impact
I am not sure whether the failing unit tests indicate that this library is not supported for the root user, or whether it is only an issue with the unit tests.
Dockerfiles use the root user by default. As a consequence, third parties who build and test this library through a Dockerfile such as myself may encounter the failing tests and be confused.
Reproduction steps
The following will succeed if running as a regular user, but four tests will fail if running as the root user (sudo su)
cd /tmp
git clone --recurse-submodules https://github.com/Level/rocksdb.git
cd rocksdb
yarn
yarn test
The text was updated successfully, but these errors were encountered:
Problem
4 unit tests fail when running as the root user on Ubuntu 20.04. This may be acceptable, but it may be helpful to document this.
Excerpt of the unit test logs:
Impact
I am not sure whether the failing unit tests indicate that this library is not supported for the root user, or whether it is only an issue with the unit tests.
Dockerfiles use the root user by default. As a consequence, third parties who build and test this library through a Dockerfile such as myself may encounter the failing tests and be confused.
Reproduction steps
The following will succeed if running as a regular user, but four tests will fail if running as the root user (
sudo su
)The text was updated successfully, but these errors were encountered: