8000 Cleaner test output, enhanced filters. by adityamukho · Pull Request #16021 · arangodb/arangodb · GitHub
[go: up one dir, main page]

Skip to content

Cleaner test output, enhanced filters. #16021

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 14 commits into from
Mar 31, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Set global log.level to error when noStartStopLogs is set.
  • Loading branch information
Aditya Mukhopadhyay committed Mar 24, 2022
commit d18a455ac103626f8f12995ce83994eec7dd6724
11 changes: 2 additions & 9 deletions js/client/modules/@arangodb/testutils/process-utils.js
8000
Original file line number Diff line number Diff line change
Expand Up @@ -2057,9 +2057,6 @@ function startInstanceCluster (instanceInfo, protocol, options,
primaryArgs['cluster.my-role'] = 'PRIMARY';
primaryArgs['cluster.agency-endpoint'] = agencyEndpoint;
primaryArgs['javascript.enabled'] = 'false';
if (options.extremeVerbosity || !options.noStartStopLogs) {
primaryArgs['log.level'] = 'startup=error';
}

startInstanceSingleServer(instanceInfo, protocol, options, ...makeArgs('dbserver' + i, 'dbserver', primaryArgs), 'dbserver');
}
Expand All @@ -2074,9 +2071,6 @@ function startInstanceCluster (instanceInfo, protocol, options,
coordinatorArgs['cluster.my-role'] = 'COORDINATOR';
coordinatorArgs['cluster.agency-endpoint'] = agencyEndpoint;
coordinatorArgs['foxx.force-update-on-startup'] = 'true';
if (options.extremeVerbosity || !options.noStartStopLogs) {
coordinatorArgs['log.level'] = 'startup=error';
}
if (!addArgs.hasOwnProperty('cluster.default-replication-factor')) {
coordinatorArgs['cluster.default-replication-factor'] = (platform.substr(0, 3) === 'win') ? '1':'2';
}
Expand All @@ -2094,9 +2088,6 @@ function startInstanceCluster (instanceInfo, protocol, options,
singleArgs['cluster.my-role'] = 'SINGLE';
singleArgs['cluster.agency-endpoint'] = agencyEndpoint;
singleArgs['replication.active-failover'] = true;
if (options.extremeVerbosity || !options.noStartStopLogs) {
singleArgs['log.level'] = 'startup=error';
}
startInstanceSingleServer(instanceInfo, protocol, options, ...makeArgs('single' + i, 'single', singleArgs), 'single');
sleep(1.0);
}
Expand Down Expand Up @@ -2319,6 +2310,8 @@ function startArango (protocol, options, addArgs, rootDir, role) {

if (options.verbose) {
args['log.level'] = 'debug';
} else if (!options.extremeVerbosity && options.noStartStopLogs) {
args['log.level'] = 'all=error';
}

instanceInfo.url = endpointToURL(instanceInfo.endpoint);
Expand Down
0