More test script fixes, don't run xDS tests in PR tests

This commit is contained in:
Michael Lumish 2020-08-24 15:53:07 -07:00
parent 1e223048b8
commit 0e8e1adfc4
3 changed files with 3 additions and 11 deletions

View File

@ -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();

View File

@ -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}"

View File

@ -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