Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:

services:
throttr:
image: ghcr.io/throttr/throttr:5.0.8-debug-${{ matrix.size }}-AMD64-metrics-enabled
image: ghcr.io/throttr/throttr:5.0.11-debug-${{ matrix.size }}-AMD64-metrics-enabled
ports:
- 9000:9000

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<groupId>cl.throttr</groupId>
<artifactId>sdk</artifactId>
<version>5.0.0</version>
<version>5.0.1</version>
<packaging>jar</packaging>

<name>Throttr SDK for Java</name>
Expand Down
9 changes: 7 additions & 2 deletions src/test/java/cl/throttr/ServiceTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -358,8 +358,13 @@ void shouldSupportBatchSetAndGet() throws Exception {
List<GetResponse> queryResponses = (List<GetResponse>) service.send(List.of(q1, q2));

assertEquals(2, queryResponses.size());
assertEquals("EHLO", new String(queryResponses.get(0).value()));
assertEquals("LOEH", new String(queryResponses.get(1).value()));
String first = new String(queryResponses.get(0).value());
String second = new String(queryResponses.get(1).value());
if (first.equals("EHLO")) {
assertEquals("LOEH", second);
} else {
assertEquals("EHLO", second);
}
service.close();
}

Expand Down