mirror of
https://github.com/owncloud/ocis
synced 2026-04-25 17:25:21 +02:00
[tests-only][full-ci] Change wrapper port from 5000 to 5200 (#6321)
* use port 5200 for wrapper API server * remove binary and ignore the build
This commit is contained in:
@@ -812,7 +812,7 @@ def localApiTests(suite, storage, extra_environment = {}):
|
||||
"BEHAT_FILTER_TAGS": "~@skip&&~@skipOnGraph&&~@skipOnOcis-%s-Storage" % ("OC" if storage == "owncloud" else "OCIS"),
|
||||
"EXPECTED_FAILURES_FILE": "%s/tests/acceptance/expected-failures-localAPI-on-%s-storage.md" % (dirs["base"], storage.upper()),
|
||||
"UPLOAD_DELETE_WAIT_TIME": "1" if storage == "owncloud" else 0,
|
||||
"OCIS_WRAPPER_URL": "http://ocis-server:5000",
|
||||
"OCIS_WRAPPER_URL": "http://ocis-server:5200",
|
||||
}
|
||||
|
||||
for item in extra_environment:
|
||||
|
||||
@@ -245,7 +245,7 @@ PROXY_ENABLE_BASIC_AUTH=true \
|
||||
### Run the tests
|
||||
|
||||
```bash
|
||||
OCIS_WRAPPER_URL=http://localhost:5000 \
|
||||
OCIS_WRAPPER_URL=http://localhost:5200 \
|
||||
TEST_WITH_GRAPH_API=true \
|
||||
TEST_OCIS=true \
|
||||
TEST_SERVER_URL="https://localhost:9200" \
|
||||
|
||||
@@ -60,7 +60,7 @@ class OcisConfigHelper {
|
||||
public static function getWrapperUrl(): string {
|
||||
$url = \getenv("OCIS_WRAPPER_URL");
|
||||
if ($url === false) {
|
||||
$url = "http://localhost:5000";
|
||||
$url = "http://localhost:5200";
|
||||
}
|
||||
return $url;
|
||||
}
|
||||
|
||||
@@ -9,7 +9,7 @@ services:
|
||||
RUN_ON_OCIS: "true"
|
||||
TEST_SERVER_URL: https://ocis-server:9200
|
||||
TEST_WITH_GRAPH_API: "true"
|
||||
OCIS_WRAPPER_URL: http://ocis-server:5000
|
||||
OCIS_WRAPPER_URL: http://ocis-server:5200
|
||||
STORAGE_DRIVER: $STORAGE_DRIVER
|
||||
TEST_SOURCE: $TEST_SOURCE
|
||||
BEHAT_SUITE: ${BEHAT_SUITE:-}
|
||||
|
||||
2
tests/ociswrapper/.gitignore
vendored
2
tests/ociswrapper/.gitignore
vendored
@@ -1 +1 @@
|
||||
bin
|
||||
bin/
|
||||
|
||||
@@ -18,7 +18,7 @@ When run, **ociswrapper** starts an API server that exposes some endpoints to re
|
||||
./bin/ociswrapper serve --bin=<path-to-ocis-binary>
|
||||
```
|
||||
|
||||
Access the API server at `http://localhost:5000`.
|
||||
Access the API server at `http://localhost:5200`.
|
||||
|
||||
Also, see `./bin/ociswrapper help` for more information.
|
||||
|
||||
|
||||
Binary file not shown.
@@ -1,7 +1,7 @@
|
||||
package config
|
||||
|
||||
var config = map[string]string{
|
||||
"port": "5000",
|
||||
"port": "5200",
|
||||
}
|
||||
|
||||
func Get(key string) string {
|
||||
|
||||
Reference in New Issue
Block a user