Skip to content

Commit c12e066

Browse files
committed
Fix for CollectionModifyTest.testBug107510() failures against MySQL 5.7.
Change-Id: Ib500aa5985081aa98204e74661a6e8743c4c7f3b
1 parent ee010ad commit c12e066

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/test/java/testsuite/x/devapi/CollectionModifyTest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1899,6 +1899,8 @@ public void testCollectionModifyAsyncMany() throws Exception {
18991899
*/
19001900
@Test
19011901
public void testBug107510() throws Exception {
1902+
assumeTrue(mysqlVersionMeetsMinimum(ServerVersion.parseVersion("8.0.5")), "MySQL 8.0.5+ is required to run this test.");
1903+
19021904
this.collection.add("{\"bug\": \"testBug107510\"}").execute();
19031905
DbDoc doc = this.collection.find().execute().fetchOne();
19041906
assertEquals("testBug107510", ((JsonString) doc.get("bug")).getString());

0 commit comments

Comments
 (0)