Open iqbalme opened 2 years ago
If you test cluster_run.js, you can run cmd like:
node test/cluster_run.js ./test_sr 0
arg[0] is the case you want to run. test_sr is for SpeechRecognizer, test_st is for SpeechTranscription. arg[1] is the worker number multiple by cpu cores and 0 will be just one worker. You should add APPKEY and TOKEN in test/test_xx.js. you can find these keys from aliyun website(https://www.aliyun.com).
There is an error for test() function because console.log find arg[0] but there is no argument there, can you fix it?