Commit Graph

15 Commits

Author SHA1 Message Date
André Duffeck 04cb96662c Read from stderr and stdout concurrently to prevent buffers from filling
Without this change the stdout buffer could fill up, causing writes to
stdout hang indefinitely.
2023-11-29 12:23:05 +01:00
Sawjan Gurung 93e2c23e8e [tests-only] stop ocis server with sigint to allow gracefull shutdown (#7759)
* stop ocis with sigint to allow gracefull shutdown

* wait until ocis process is completely down
2023-11-21 16:46:44 +05:45
jkoberg b33dbba525 fix race condition in ocis wrapper
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-10-11 15:25:22 +02:00
Saw-jan d4be6a83a7 ociswrapper: break wait if server responds with 200 2023-09-21 17:00:37 +05:45
Saw-jan 3c364742c8 ociswrapper: meaningful error message 2023-09-21 17:00:37 +05:45
Saw-jan 5d64f169b3 cleanup mesh 2023-09-21 17:00:37 +05:45
Saw-jan 6e6ae38963 ociswrapper: mark server ready if the server sends any response 2023-09-21 17:00:36 +05:45
Saw-jan 2b67d0c382 ociswrapper: do not panic if the process has already finished 2023-09-21 17:00:36 +05:45
Saw-jan 3c97bc5c53 ociswrapper: retry restarting ocis if it dies 2023-09-21 17:00:36 +05:45
Sawjan Gurung 862ad4d0f2 [full-ci][ociswrapper] Check ocis connection by requesting user info (#7293)
* check ocis connection by requesting user info

* set request-id
2023-09-21 11:27:26 +05:45
Sawjan Gurung db39d6b7aa (ociswrapper): separate ociswrapper logs from ocis logs (#6776) 2023-07-12 11:32:03 +05:45
Sawjan Gurung 3c15c84fbc [tests-only][full-ci] Retry ocis startup with ociswrapper (#6768)
* (ociswrapper): retry starting ocis if failed

* (ociswrapper): kill procces and start again

* (ociswrapper): make retry configurable via cli
2023-07-12 09:33:10 +05:45
Sawjan Gurung 14b11f24a6 [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
2023-05-16 15:40:06 +05:45
Sawjan Gurung 60fd953c7e [docs-only] Document running tests using ociswrapper (#6283)
* add README for ociswrapper

* add doc on how to tests env config test suites with ociswrapper

* document running tests using ociswrapper

* update local docker compose setup for running tests

* make ocis able to run with ociswrapper

* update wrapper doc

* run with ociswrapper by default

* ignore md files on codacy

* fix README format
2023-05-16 14:39:17 +05:45
Sawjan Gurung 9945dad647 [POC][full-ci] Testing various oCIS env configurations (#6062)
* run api tests

* run ocis via wrapper

* add context, helpers and steps change ocis config

* remove separate pipelines for special test cases

* add context to behat config

* fix suite name

* set wrapper url while running tests

* fix cors allow env name

* address review

* add ociswrapper codebase

* add ci pipeline to build and cache wrapper

* add step to check ociswrapper cache

* invalidate wrapper cache and build new

* build on pipeline step

* undo unnecessary changes

* undo unnecessary changes

* fix php code

* fix ocis run command

* use tag for teardown

* exclude wrapper vendor in codacy check

* fix typos
2023-05-11 17:21:52 +05:45