Build Failure in airbyte-platform project with Gradle

Summary

The user is facing a build failure in the airbyte-platform project when trying to build the application with Gradle. The failure is related to a test failing in the BlockingShutdownAnalyticsPluginTest. Excluding tests with ‘-x test’ option allows the build to work. The user is seeking suggestions to resolve this failure.


Question

Hello everyone,
I’m trying to build the application with gradle (starting from airbyte-platform project forked) but the build fails with the following


BlockingShutdownAnalyticsPluginTest > test that all in-flight messages are flushed before shutdown() FAILED
    org.opentest4j.AssertionFailedError: expected: <0> but was: <always different number>```
I've tried excluding tests with "-x test" option and the build works fine. Does anyone have tried to make the same thing getting a SUCCESS? Do you have some suggestion to resolve this failure?

NOTE: I've not changed anything on codebase.

<br>

---

This topic has been created from a Slack thread to give it more visibility.
It will be on Read-Only mode here. [Click here](https://airbytehq.slack.com/archives/C021JANJ6TY/p1729156492954769) if you want 
to access the original thread.

[Join the conversation on Slack](https://slack.airbyte.com)

<sub>
["build-failure", "airbyte-platform", "gradle", "test", "exclusion"]
</sub>