Increase timeout in mongodb consumer test

This commit is contained in:
Soby Chacko
2020-08-13 13:36:59 -04:00
parent 6b0f08712b
commit 92569d8113

View File

@@ -70,7 +70,7 @@ class MongoDbConsumerApplicationTests {
messages.map(message -> {
mongodbConsumer.accept(message);
return message;
}).blockLast(Duration.ofSeconds(10));
}).blockLast(Duration.ofSeconds(30));
StepVerifier.create(this.mongoTemplate.findAll(Document.class, properties.getCollection())
.sort(Comparator.comparing(d -> d.get("_id").toString())))