test: run mtpublisher / mtca separately These unittests each mutate state in a database, and so they have race conditions that will lead to test flakes. Temporarily apply the same solution we applied for ra/sa.
diff --git a/test.sh b/test.sh index c30b83a..7c05c6a 100755 --- a/test.sh +++ b/test.sh
@@ -96,8 +96,10 @@ # The ra and sa unittests conflict because they both mutate the database. # Exclude the ra from our first test run, then run on its own. # https://github.com/letsencrypt/boulder/issues/1499 - go_test $(go list ./... | grep -v 'boulder\/ra$') + # The same issue applies to the mtca and the mtpublisher. + go_test $(go list ./... | grep -vE 'boulder\/(ra|mtpublisher)$') go_test ./ra + go_test ./mtpublisher else go_test "${UNIT_PACKAGES[@]}" fi