Skip to content

Commit

Permalink
Fix for CollectionModifyTest.testBug107510() failures against MySQL 5.7.
Browse files Browse the repository at this point in the history
Change-Id: Ib500aa5985081aa98204e74661a6e8743c4c7f3b
  • Loading branch information
fjssilva committed Jun 9, 2022
1 parent ee010ad commit c12e066
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/test/java/testsuite/x/devapi/CollectionModifyTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -1899,6 +1899,8 @@ public void testCollectionModifyAsyncMany() throws Exception {
*/
@Test
public void testBug107510() throws Exception {
assumeTrue(mysqlVersionMeetsMinimum(ServerVersion.parseVersion("8.0.5")), "MySQL 8.0.5+ is required to run this test.");

this.collection.add("{\"bug\": \"testBug107510\"}").execute();
DbDoc doc = this.collection.find().execute().fetchOne();
assertEquals("testBug107510", ((JsonString) doc.get("bug")).getString());
Expand Down

0 comments on commit c12e066

Please sign in to comment.