mongo-java-driver icon indicating copy to clipboard operation
mongo-java-driver copied to clipboard

Run more tests concurrently in CI

Open jyemin opened this issue 1 year ago • 3 comments

Make these suites run concurrently on the main matrices

  • driver-sync
  • driver-reactive-streams
  • driver-core
  • driver-legacy

Additionally, run unit tests once per JDK rather than on every MongoDB deployment variant

  • bson
  • mongodb-crypt

JAVA-5628

Patch builds show that the slowest task drops from ~45 minutes to ~20 minutes

jyemin avatar Sep 25 '24 13:09 jyemin

I like it. One comment about the legacy tests but it looks good 👍

rozza avatar Oct 02 '24 09:10 rozza

So kotlin tests are duplicated here but the Scala driver tests aren't.

As we already limit the versions that we run kotlin / scala on and Scala tests multiple scala runtimes. I'd recommend removing them from the bson and reactive tests.

rozza avatar Oct 02 '24 12:10 rozza

I have an optional suggestion - put the "test" prefix after.

It reads better with test as a suffix, but I prefer the prefix because then they all sort together

jyemin avatar Oct 03 '24 13:10 jyemin

Added @katcharov to get one more set of eyes on this.

jyemin avatar Oct 08 '24 13:10 jyemin