Do not use shaded dependencies from testcontainers (#2343)

Also fixed a flaky test where it depends on the current date. On a leap
day, now + 1 year - 1 year results in 2/28 instead of 2/29.
This commit is contained in:
Lai Jiang 2024-02-29 14:02:02 -05:00 committed by GitHub
parent d1f678bba7
commit fbe0f4e0f2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
15 changed files with 24 additions and 16 deletions

View file

@ -172,6 +172,12 @@ PRESUBMITS = {
{"/node_modules/", "google/registry/ui/js/util.js", "registrar_bin."},
):
"JavaScript files should not include console logging.",
PresubmitCheck(
r"org\.testcontainers\.shaded\.",
"java",
{"/node_modules/"},
):
"Do not use shaded dependencies from testcontainers.",
}
# Note that this regex only works for one kind of Flyway file. If we want to