Server IP : 85.214.239.14 / Your IP : 3.144.96.19 Web Server : Apache/2.4.62 (Debian) System : Linux h2886529.stratoserver.net 4.9.0 #1 SMP Tue Jan 9 19:45:01 MSK 2024 x86_64 User : www-data ( 33) PHP Version : 7.4.18 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, MySQL : OFF | cURL : OFF | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /proc/2/cwd/proc/3/root/proc/3/root/proc/2/cwd/lib/node_modules/pm2/node_modules/@pm2/io/ |
Upload File : |
NODE_ENV='test' MOCHA='npx mocha' trap "exit" INT set -e npm run build #### Unit tests $MOCHA ./test/autoExit.spec.ts $MOCHA ./test/api.spec.ts $MOCHA ./test/metrics/http.spec.ts $MOCHA ./test/metrics/runtime.spec.ts $MOCHA ./test/entrypoint.spec.ts # $MOCHA ./test/standalone/tracing.spec.ts # $MOCHA ./test/standalone/events.spec.ts $MOCHA ./test/features/events.spec.ts $MOCHA ./test/features/tracing.spec.ts $MOCHA ./test/metrics/eventloop.spec.ts $MOCHA ./test/metrics/network.spec.ts $MOCHA ./test/metrics/v8.spec.ts $MOCHA ./test/services/actions.spec.ts $MOCHA ./test/services/metrics.spec.ts #### Tracing tests # Enable tests export OPENCENSUS_MONGODB_TESTS="1" export OPENCENSUS_REDIS_TESTS="1" export OPENCENSUS_MYSQL_TESTS="1" export OPENCENSUS_PG_TESTS="1" if [ -z "$DRONE" ] then export OPENCENSUS_REDIS_HOST="localhost" export OPENCENSUS_MONGODB_HOST="localhost" export OPENCENSUS_MYSQL_HOST="localhost" export OPENCENSUS_PG_HOST="localhost" else export OPENCENSUS_REDIS_HOST="redis" export OPENCENSUS_MONGODB_HOST="mongodb" export OPENCENSUS_MYSQL_HOST="mysql" export OPENCENSUS_PG_HOST="postgres" fi $MOCHA src/census/plugins/__tests__/http.spec.ts $MOCHA src/census/plugins/__tests__/http2.spec.ts $MOCHA src/census/plugins/__tests__/https.spec.ts $MOCHA src/census/plugins/__tests__/mongodb.spec.ts $MOCHA src/census/plugins/__tests__/mysql.spec.ts $MOCHA src/census/plugins/__tests__/mysql2.spec.ts $MOCHA src/census/plugins/__tests__/ioredis.spec.ts $MOCHA src/census/plugins/__tests__/vue.spec.ts $MOCHA src/census/plugins/__tests__/express.spec.ts $MOCHA src/census/plugins/__tests__/net.spec.ts $MOCHA src/census/plugins/__tests__/redis.spec.ts SUPV14=`node -e "require('semver').gte(process.versions.node, '14.0.0') ? console.log('>=14') : console.log('>6')"` if [ $SUPV14 == '>=14' ]; then exit fi $MOCHA src/census/plugins/__tests__/pg.spec.ts #$MOCHA ./test/features/profiling.spec.ts