mirror of https://github.com/grpc/grpc-node.git
More test script fixes, don't run xDS tests in PR tests
This commit is contained in:
parent
1e223048b8
commit
0e8e1adfc4
|
@ -182,7 +182,8 @@ function main() {
|
|||
const argv = yargs
|
||||
.string(['fail_on_failed_rpcs', 'server', 'stats_port'])
|
||||
.number(['num_channels', 'qps'])
|
||||
.require(['fail_on_failed_rpcs', 'num_channels', 'qps', 'server', 'stats_port'])
|
||||
.require(['qps', 'server', 'stats_port'])
|
||||
.default('num_channels', 1)
|
||||
.argv;
|
||||
console.log('Starting xDS interop client. Args: ', argv);
|
||||
const callStatsTracker = new CallStatsTracker();
|
||||
|
|
|
@ -33,4 +33,4 @@ GRPC_NODE_TRACE=all GRPC_NODE_VERBOSITY=DEBUG \
|
|||
--qps={qps} \
|
||||
{fail_on_failed_rpc} \
|
||||
{rpcs_to_send} \
|
||||
{metadata_to_send}"
|
||||
{metadata_to_send}"
|
||||
|
|
|
@ -75,15 +75,6 @@ do
|
|||
npm test || FAILED="true"
|
||||
done
|
||||
|
||||
if [ "$OS" = "Linux" ]
|
||||
then
|
||||
set +ex
|
||||
nvm use 12
|
||||
set -ex
|
||||
# Run the xds interop tests only on Linux
|
||||
./packages/grpc-js/scripts/xds.sh
|
||||
fi
|
||||
|
||||
set +ex
|
||||
nvm use 8
|
||||
set -ex
|
||||
|
|
Loading…
Reference in New Issue