[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:
Sawjan Gurung
2023-05-16 15:40:06 +05:45
committed by GitHub
parent 489fc64634
commit 14b11f24a6
8 changed files with 7 additions and 7 deletions

View File

@@ -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:

View File

@@ -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" \

View File

@@ -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;
}

View File

@@ -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:-}

View File

@@ -1 +1 @@
bin
bin/

View File

@@ -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.

View File

@@ -1,7 +1,7 @@
package config
var config = map[string]string{
"port": "5000",
"port": "5200",
}
func Get(key string) string {