afedulov commented on a change in pull request #18905:
URL: https://github.com/apache/flink/pull/18905#discussion_r822908446



##########
File path: tools/ci/shade.sh
##########
@@ -173,3 +173,62 @@ check_shaded_artifacts_connector_elasticsearch() {
 
        return 0
 }
+
+check_one_per_package() {
+    read foo
+       if [ $foo -gt 1 ]
+       then
+               echo "ERROR - CHECK FAILED: $1 is shaded multiple times!"
+               exit 1
+       else
+               echo "OK"
+       fi
+}
+
+check_relocated() {
+    read foo
+       if [ $foo -ne 0 ]
+       then
+               echo "ERROR - CHECK FAILED: found $1 classses that where not 
relocated!"

Review comment:
       fixed




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to