aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/run_tests/sanity/core_banned_functions.py
diff options
context:
space:
mode:
authorGravatar ncteisen <ncteisen@gmail.com>2018-05-15 13:46:20 -0700
committerGravatar ncteisen <ncteisen@gmail.com>2018-05-15 13:46:20 -0700
commitbd11a12169dad9b4e0131bdf09732e771b600e5e (patch)
tree6c71243dec914fb266319855cf478ffe77534c88 /tools/run_tests/sanity/core_banned_functions.py
parent6616fab539971befd391322f6b76aedd7a53d7f5 (diff)
Reviewer feedback and build fixes
Diffstat (limited to 'tools/run_tests/sanity/core_banned_functions.py')
-rwxr-xr-xtools/run_tests/sanity/core_banned_functions.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/run_tests/sanity/core_banned_functions.py b/tools/run_tests/sanity/core_banned_functions.py
index 714c4b5c77..e7eb8e3909 100755
--- a/tools/run_tests/sanity/core_banned_functions.py
+++ b/tools/run_tests/sanity/core_banned_functions.py
@@ -65,4 +65,8 @@ for root, dirs, files in os.walk('src/core'):
errors += 1
assert errors == 0
+# this check comes about from this issue:
+# https://github.com/grpc/grpc/issues/15381
+# basically, a change rendered this script useless and we did not realize.
+# This dumb check ensures that type of issue doesn't occur again.
assert num_files > 300 # we definitely have more than 300 files