Skip to content

Commit

Permalink
Fix acceptance test instructions (#2017)
Browse files Browse the repository at this point in the history
Since switching away from the owncloud storage driver REDIS is no longer
needed for running the tests.
  • Loading branch information
rhafer authored Aug 30, 2021
1 parent 011bc08 commit efb51dd
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ See [tests/acceptance](https://github.com/cs3org/reva/tree/master/tests/acceptan

This will require some PHP-related tools to run, for instance on Ubuntu you will need `apt install -y php-xml php-curl composer`.

1. start an LDAP server
1. start an LDAP server
```
docker run --rm --hostname ldap.my-company.com \
-e LDAP_TLS_VERIFY_CLIENT=never \
Expand All @@ -116,11 +116,8 @@ This will require some PHP-related tools to run, for instance on Ubuntu you will
-p 127.0.0.1:389:389 \
-p 636:636 -d osixia/openldap
```
2. start a REDIS server
```
docker run --rm -e REDIS_DATABASES=1 -p 6379:6379 -d webhippie/redis:latest
```
3. start the needed services
2. start the needed services
```
cd tests/oc-integration-tests/local
../../../cmd/revad/revad -c frontend.toml &
Expand All @@ -132,13 +129,13 @@ This will require some PHP-related tools to run, for instance on Ubuntu you will
../../../cmd/revad/revad -c ldap-users.toml
```
4. clone ownCloud 10
3. clone ownCloud 10
`git clone https://github.com/owncloud/core.git ./testrunner`
5. clone the testing app
4. clone the testing app
`git clone https://github.com/owncloud/testing.git ./testrunner/apps/testing`
6. run the tests
5. run the tests
```
cd testrunner
TEST_SERVER_URL='http://localhost:20080' \
Expand Down

0 comments on commit efb51dd

Please sign in to comment.