1
0
Fork 0
arangodb/js/client/modules/@arangodb/testsuites
Wilfried Goesgens 76afb5001e Feature/resource usage (#9647)
* spawn an arangosh that checks cluster nodes are responsive

* attempting to kill 0 may end up bad for us, prohibit it

* don't trip over this optional stuff.

* fix killing of spectator

* only write one line per minute

* fix function name

* print sHitlist of tests, add resource usage

* fix lint

* start refactoring result processing into its own library

* /proc reading only works on linux

* new result processing library

* clean up test loading flow, remove unused blacklist implementation

* measure SUT start/stop + test time

* lint

* more non-test variables

* improve test runner naming

* finish gathering statistics about start/run/stop

* use internal stats code for external processes too

* fix status in sample testcase

* tell that procdump is gone - it seems this happenes in reality without coredumps being written

* refactor test result analyzing, add utility to work with analyzers of json dumps from CI systems

* fix testcase error handling

* also run watcher for agency

* lint

* fix default options for test added default options

* if arguments occur multiple times, update value to an array

* start implementing some test analyzers

* fix color

* write json report unconditional

* add analyzer that searches for long setup/teardown tests

* enable thread dump; log error if we fail to acquire the threads

* disable procdump for the agency

* output error if we fail to get process stats

* fix json invocation

* add debug logging

* only add buildType if that directory actually exists

* trap sleepers

* trap sleepers

* trap sleepers

* trap sleepers

* trap sleepers

* disable thread counting on the wintendo

* disable thread counting on the wintendo

* more measurements

* more measurements

* one more place

* one more place

* remove debugging code

* Update js/client/modules/@arangodb/process-utils.js

Co-Authored-By: Dan Larkin-York <danielhlarkin@users.noreply.github.com>

* Update js/client/modules/@arangodb/process-utils.js

Co-Authored-By: Dan Larkin-York <danielhlarkin@users.noreply.github.com>

* Apply suggestions from code review

Co-Authored-By: Dan Larkin-York <danielhlarkin@users.noreply.github.com>

* rename as sugested by @dan

* undo debug changes

* lint, make cluster health monitor optional per default

* fix spawning of active failover SUT, fix cluster health monitor shutdown

* use std::find_if (as @dan sugested), fix log ids

* fix scope of before-time
2019-08-30 16:20:07 +03:00
..
agency.js Feature/resource usage (#9647) 2019-08-30 16:20:07 +03:00
aql.js apply filters before starting the server, so we can detect whether no test would be executed (#9387) 2019-07-03 14:13:16 +02:00
arangobench.js properly forward corecheck option to the client tools launch invokations (#9313) 2019-06-25 11:24:55 +02:00
arangosh.js fixed missing reference 2019-08-13 14:09:04 +02:00
audit.js Feature/resource usage (#9647) 2019-08-30 16:20:07 +03:00
authentication.js apply filters before starting the server, so we can detect whether no test would be executed (#9387) 2019-07-03 14:13:16 +02:00
backup.js properly forward corecheck option to the client tools launch invokations (#9313) 2019-06-25 11:24:55 +02:00
config.js Feature/resource usage (#9647) 2019-08-30 16:20:07 +03:00
dfdb.js disable circumventing of coredumps for windows (#5583) 2018-06-13 13:54:24 +02:00
dump.js fixed typo in test name 2019-08-13 12:16:00 +02:00
endpoints.js preserve the instance shutdown state, and if its bad, don't clean up the test directory (#9122) 2019-05-29 15:59:34 +03:00
export.js Feature: Add gzip and encryption to import/export (#9560) 2019-07-26 07:53:39 -04:00
fail.js Feature/resource usage (#9647) 2019-08-30 16:20:07 +03:00
foxxmanager.js properly forward corecheck option to the client tools launch invokations (#9313) 2019-06-25 11:24:55 +02:00
gtest.js adopt option to do the right thing with gtests (#9280) 2019-06-18 11:15:09 +02:00
importing.js Feature: Add gzip and encryption to import/export (#9560) 2019-07-26 07:53:39 -04:00
ldap.js apply filters before starting the server, so we can detect whether no test would be executed (#9387) 2019-07-03 14:13:16 +02:00
loadBalancing.js apply filters before starting the server, so we can detect whether no test would be executed (#9387) 2019-07-03 14:13:16 +02:00
paths_server.js apply filters before starting the server, so we can detect whether no test would be executed (#9387) 2019-07-03 14:13:16 +02:00
permissions_client.js apply filters before starting the server, so we can detect whether no test would be executed (#9387) 2019-07-03 14:13:16 +02:00
queryCacheAuthorization.js properly forward corecheck option to the client tools launch invokations (#9313) 2019-06-25 11:24:55 +02:00
readOnly.js properly forward corecheck option to the client tools launch invokations (#9313) 2019-06-25 11:24:55 +02:00
recovery.js fix runInArangosh result evaluation (#9588) 2019-07-29 20:42:48 +03:00
replication.js apply filters before starting the server, so we can detect whether no test would be executed (#9387) 2019-07-03 14:13:16 +02:00
resilience.js apply filters before starting the server, so we can detect whether no test would be executed (#9387) 2019-07-03 14:13:16 +02:00
rspec.js apply filters before starting the server, so we can detect whether no test would be executed (#9387) 2019-07-03 14:13:16 +02:00
server_permissions.js fix location - while they work with the server these tests are run in arangosh so they need to be in client/ (#9435) 2019-07-10 16:49:12 +03:00
single.js preserve the instance shutdown state, and if its bad, don't clean up the test directory (#9122) 2019-05-29 15:59:34 +03:00
stress.js preserve the instance shutdown state, and if its bad, don't clean up the test directory (#9122) 2019-05-29 15:59:34 +03:00
upgrade-data.js apply filters before starting the server, so we can detect whether no test would be executed (#9387) 2019-07-03 14:13:16 +02:00
upgrade.js disable circumventing of coredumps for windows (#5583) 2018-06-13 13:54:24 +02:00
version.js fix `--database.check-version` 2018-07-18 12:18:42 +02:00
wal.js apply filters before starting the server, so we can detect whether no test would be executed (#9387) 2019-07-03 14:13:16 +02:00