From a7c05edfd9c7ca41cb7f8c877ae79ce6ec20104c Mon Sep 17 00:00:00 2001 From: abilan Date: Mon, 24 Jul 2023 11:10:33 -0400 Subject: [PATCH] Fix AbstrMongoDbMesGrStoreTests according to main --- .../store/AbstractMongoDbMessageGroupStoreTests.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spring-integration-mongodb/src/test/java/org/springframework/integration/mongodb/store/AbstractMongoDbMessageGroupStoreTests.java b/spring-integration-mongodb/src/test/java/org/springframework/integration/mongodb/store/AbstractMongoDbMessageGroupStoreTests.java index a0bea43a87..d8385cc178 100644 --- a/spring-integration-mongodb/src/test/java/org/springframework/integration/mongodb/store/AbstractMongoDbMessageGroupStoreTests.java +++ b/spring-integration-mongodb/src/test/java/org/springframework/integration/mongodb/store/AbstractMongoDbMessageGroupStoreTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2022 the original author or authors. + * Copyright 2002-2023 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -478,9 +478,9 @@ public abstract class AbstractMongoDbMessageGroupStoreTests implements MongoDbCo .setCorrelationId(1) .build(); input.send(m1); - assertThat(output.receive(1000)).isNull(); + assertThat(output.receive(10)).isNull(); input.send(m2); - assertThat(output.receive(1000)).isNull(); + assertThat(output.receive(10)).isNull(); for (int i = 3; i < 10; i++) { input.send(MessageBuilder.withPayload("" + i)