We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a9708ea commit 64347d6Copy full SHA for 64347d6
.circleci/collect_results.sh
@@ -28,9 +28,11 @@ do
28
cp "$RESULT_XML_FILE" "$TEST_RESULTS_DIR/$AGGREGATED_FILE_NAME"
29
# Replace Java Object hashCode by marker in testcase XML nodes to get stable test names
30
sed -i '/<testcase/ s/@[0-9a-f]\{5,\}/@HASHCODE/g' "$TEST_RESULTS_DIR/$AGGREGATED_FILE_NAME"
31
+ # Replace random port numbers by marker in testcase XML nodes to get stable test names
32
+ sed -i '/<testcase/ s/localhost:[0-9]\{2,5\}/localhost:PORT/g' "$TEST_RESULTS_DIR/$AGGREGATED_FILE_NAME"
33
if cmp -s "$RESULT_XML_FILE" "$TEST_RESULTS_DIR/$AGGREGATED_FILE_NAME"; then
34
echo ""
35
else
- echo " (hashCode replaced)"
36
+ echo -n " (non-stable test names detected)"
37
fi
38
done < <(find "${TEST_RESULT_DIRS[@]}" -name \*.xml -print0)
0 commit comments