Commit graph

13 commits

Author SHA1 Message Date
Michael Meeks
c80641f5ef perf-test: when using trace - break, so we can debug early start.
Change-Id: Id8c64450874f71543827f1633181adfd8551096d
Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
2023-05-22 20:21:11 +01:00
Michael Meeks
29fedecd21 perf-test: disable SSL mode, with self-signed local certs it fails.
Error: self signed certificate in certificate chain
    at TLSSocket.onConnectSecure (node:_tls_wrap:1530:34)
    at TLSSocket.emit (node:events:526:28)
    at TLSSocket._finishInit (node:_tls_wrap:944:8)
    at TLSWrap.ssl.onhandshakedone (node:_tls_wrap:725:12)
    at TLSWrap.callbackTrampoline (node:internal/async_hooks:130:17)
Change-Id: I27462802a6b1cfaed683277d111a480ca474cd7e
Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
2023-05-22 20:21:10 +01:00
Michael Meeks
9e9f7007f3 perf-test: disable SSL for now, and print the right url.
Seemingly rejectUnauthorized doesn't make nodejs happy either
for unknown reasons.

Change-Id: I99299489ba6af98c4088ee7b95c4d55d1291dfc6
Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
2022-10-12 07:53:46 +02:00
Henry Castro
c000f119b3 browser: test: explicitly convert to number
Change-Id: I2dbecafcc1148aa69010eee822ee0fa30a5e6307
Signed-off-by: Henry Castro <hcastro@collabora.com>
2022-04-27 09:18:21 +01:00
Henry Castro
a48024ca78 browser:test: fix exception http or https protocol
Change-Id: Ia62833fb0cb448370b6fdf422d12e6b0ebbcff55
Signed-off-by: Henry Castro <hcastro@collabora.com>
2022-04-27 09:18:21 +01:00
Henry Castro
6f3c90c8a9 browser:test: exit process if uncaugth signal
Change-Id: I971e100cfbb5c428c6ee88d8b9f5413398250c50
Signed-off-by: Henry Castro <hcastro@collabora.com>
2022-04-27 09:18:21 +01:00
Henry Castro
cdb72ca762 browser:test: add function serverReady
When the coolwsd server is ready, begin to
fork the load.js process to start the tile tests

Change-Id: I7846ce013b729eab54e5fd3ab81ce396406bcf0b
Signed-off-by: Henry Castro <hcastro@collabora.com>
2022-04-27 09:18:21 +01:00
Henry Castro
16e6494a21 browser: test: fix stdio pipes
Ignore stdio pipes if no debug is set

Change-Id: I8b77a32324d77a87577759b878f612dfbca586f7
Signed-off-by: Henry Castro <hcastro@collabora.com>
2022-04-27 09:18:21 +01:00
Henry Castro
12f7022f69 browser: test: add process env NODE_PATH
if builddir != srcdir

Change-Id: I5bdec438aff67d3c70aceafbff0d3a4445d865c6
Signed-off-by: Henry Castro <hcastro@collabora.com>
2022-04-27 09:18:21 +01:00
Michael Meeks
9fa2c9b7ae perf-test: periodically dump stats fetched from the admin console metrics.
Also init admin console properly.

Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
Change-Id: Ie24a896973fa1a720868b47196f684fc1cbac91b
2022-01-08 09:48:20 +00:00
Michael Meeks
9762ad2145 perf-test: print out URL to watch document from.
Change-Id: I3a4b419a7307b11f9ce91bdc4fb1539b0ceb1160
Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
2021-11-29 11:34:32 +00:00
Andras Timar
f07ff8c7e0 rename: remaining lool->cool changes
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ib7d4e804bebe52dead8d53b0e0bbaed0f08bf3d0
2021-11-18 14:14:11 +01:00
Henry Castro
e5c1d0e637 initial rename loleaflet -> browser
Change-Id: Ief7edfe7e3ff3a0a1ec24b4dc106bdeee5d0f8ff
Signed-off-by: Henry Castro <hcastro@collabora.com>
2021-11-10 17:18:56 +01:00
Renamed from loleaflet/test/bootstrap.js (Browse further)