Merge remote-tracking branch 'origin/main' into driver/weaviate

This commit is contained in:
Madhavan Sridharan 2024-07-30 12:30:56 -04:00
commit a5a49c3e8d
3 changed files with 7 additions and 13 deletions

View File

@ -427,7 +427,6 @@
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-slf4j-impl</artifactId>
<!-- <version>2.23.1</version>-->
</dependency>
<dependency>

View File

@ -52,26 +52,21 @@
<artifactId>protobuf-java-util</artifactId>
<version>3.25.3</version>
</dependency>
<!-- <dependency>-->
<!-- <groupId>org.apache.logging.log4j</groupId>-->
<!-- <artifactId>log4j-core</artifactId>-->
<!-- <version>2.23.1</version>-->
<!-- </dependency>-->
<dependency>
<groupId>io.milvus</groupId>
<artifactId>milvus-sdk-java</artifactId>
<version>2.4.1</version>
</dependency>
<!-- https://mvnrepository.com/artifact/ch.qos.reload4j/reload4j replaces log4j 1.X-->
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.17</version>
<groupId>ch.qos.reload4j</groupId>
<artifactId>reload4j</artifactId>
<version>1.2.25</version>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-slf4j-impl</artifactId>
<version>2.23.1</version>
</dependency>

View File

@ -45,7 +45,7 @@ public class TimeoutPredicateTest {
resultNow = wontMakeIt.test();
assertThat(resultNow.duration_ns()).isBetween(10 * 1_000_000L, 50 * 1_000_000_000L);
assertThat(resultNow.value()).isFalse();
assertThat(resultNow.status()).isEqualTo(TimeoutPredicate.Status.pending);
// assertThat(resultNow.status()).isEqualTo(TimeoutPredicate.Status.pending);
while (resultNow.status() == TimeoutPredicate.Status.pending) {
resultNow = wontMakeIt.test();