Skip to content

Commit 7e7197b

Browse files
committed
Upgrade to Lettuce 6.1.0 M1.
Fix test to use closed range as Lettuce 6.1/Redis 6.2 distinguish now between inclusive and exclusive bounds. Closes #1967.
1 parent 362396b commit 7e7197b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<beanutils>1.9.2</beanutils>
2323
<xstream>1.4.15</xstream>
2424
<pool>2.9.0</pool>
25-
<lettuce>6.0.2.RELEASE</lettuce>
25+
<lettuce>6.1.0.M1</lettuce>
2626
<jedis>3.5.1</jedis>
2727
<multithreadedtc>1.01</multithreadedtc>
2828
<netty>4.1.51.Final</netty>

src/test/java/org/springframework/data/redis/connection/AbstractConnectionIntegrationTests.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -3202,7 +3202,7 @@ void xPendingShouldWorkWithBoundedRange() {
32023202
actual.add(connection.xReadGroupAsString(Consumer.from("my-group", "my-consumer"),
32033203
StreamOffset.create(KEY_1, ReadOffset.lastConsumed())));
32043204

3205-
actual.add(connection.xPending(KEY_1, "my-group", org.springframework.data.domain.Range.open("0-0", "+"), 10L));
3205+
actual.add(connection.xPending(KEY_1, "my-group", org.springframework.data.domain.Range.closed("0-0", "+"), 10L));
32063206

32073207
List<Object> results = getResults();
32083208
assertThat(results).hasSize(4);

0 commit comments

Comments
 (0)