Make the 'critical' field be configurable for trybuilds in recipe tests
Make the 'critical' field be configurable for trybuilds in recipe tests

So recipes can alter their behavior based on that field, and have
that behavior controlled in recipe tests.

Bug: 1250084
Change-Id: Icf325cf9efc0f70c08de90f0beaf240294be37cd
Reviewed-on: https://chromium-review.googlesource.com/c/infra/luci/recipes-py/+/3417578
Reviewed-by: Chan Li <332b6c56634d0f63001046c664a2370006a02420@chromium.org>
Reviewed-by: Yuanjun Huang <a5f4b8445ce5e958d19c0a7caeadcd07c9d18770@google.com>
Commit-Queue: Ben Pastene <e214258550f76fa23ac7c1d953424f3f468f5c6b@chromium.org>

luci/recipes-py,luci/recipes-py