You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 13, 2019. It is now read-only.
When trying to reproduce a flaky test from the parallel folder, I've found very useful, to reproduce the error more easily, making some copies of it and then run those tests in parallel. Something along this lines:
#!/bin/bash
BASE_PATH=./test/parallel
TEST=$1
COPIES=$2
for i in `seq 1 $COPIES`;
do
cp $BASE_PATH/$TEST.js $BASE_PATH/$TEST-$i.js
done
while true; do
/usr/bin/python tools/test.py --mode=release parallel/${TEST}* -J
if [ $? -ne 0 ]; then
break
fi
done
From what I understand the node-stress-single-test job from the CI runs the tests sequentially. Maybe trying to run them in parallel can be useful. What do you think?