From 03a30d9a2365df9ef83b7b5d8f248136a470a26f Mon Sep 17 00:00:00 2001 From: Davide D'Alto Date: Mon, 2 Sep 2024 15:52:03 +0200 Subject: [PATCH] OGM-1588 Update remote MongoDB to 7 in the GitHub workflow We still test the default build using the embedded MongoDB 3.6. Tests for calls to stored procedures are disabled for the remote server because MongoDB 7.0 doesn't support `$eval` anymore. --- .github/workflows/build.yml | 2 +- mongodb/pom.xml | 13 +++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3dd9a8e8e0..47825629c5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -86,7 +86,7 @@ jobs: - name: Start MongoDB uses: supercharge/mongodb-github-action@1.11.0 with: - mongodb-version: 3.6.23 + mongodb-version: 7.0.14 mongodb-port: 27017 - name: Run tests run: | diff --git a/mongodb/pom.xml b/mongodb/pom.xml index 285195479a..3fe03f3ce5 100644 --- a/mongodb/pom.xml +++ b/mongodb/pom.xml @@ -232,6 +232,19 @@ mongodb + + + + maven-surefire-plugin + + + + **/PositionalParametersStoredProcedureCallTest.java + + + + +