DATAMONGO-1824 - Skip tests no longer applicable for MongoDB 3.6.

Original pull request: #521.
This commit is contained in:
Christoph Strobl
2017-12-11 10:32:41 +01:00
committed by Mark Paluch
parent 9525cdedfc
commit a2d470cd23

View File

@@ -132,6 +132,8 @@ public class MongoTemplateTests {
.parse("2.8");
private static final org.springframework.data.util.Version THREE_DOT_FOUR = org.springframework.data.util.Version
.parse("3.4");
private static final org.springframework.data.util.Version THREE_DOT_SIX = org.springframework.data.util.Version
.parse("3.6");
@Autowired MongoTemplate template;
@Autowired MongoDbFactory factory;
@@ -2377,6 +2379,8 @@ public class MongoTemplateTests {
@Test // DATAMONGO-354
public void testUpdateShouldAllowMultiplePushAll() {
assumeThat(mongoVersion.isLessThan(THREE_DOT_SIX), is(true));
DocumentWithMultipleCollections doc = new DocumentWithMultipleCollections();
doc.id = "1234";
doc.string1 = Arrays.asList("spring");