diff --git a/integration-tests/metrics-init.patch b/integration-tests/metrics-init.patch
index d3fa6c456d..78052905c5 100644
--- a/integration-tests/metrics-init.patch
+++ b/integration-tests/metrics-init.patch
@@ -31,7 +31,7 @@ index 6192b52..8c312b6 100644
2.19.1
9+181-r4173-1
-
-+ -Xplugin:ErrorProne ${error-prone.flags}
++ -Xplugin:ErrorProne -XepDisableWarningsInGeneratedCode ${error-prone.flags}
+ 8
dropwizard_metrics
dropwizard