Skip to content

Commit

Permalink
Bump redis.clients:jedis from 1.4.0 to 5.1.2 (#3639)
Browse files Browse the repository at this point in the history
* Bump redis.clients:jedis from 1.4.0 to 5.1.2

Bumps [redis.clients:jedis](https://github.com/redis/jedis) from 1.4.0 to 5.1.2.
- [Release notes](https://github.com/redis/jedis/releases)
- [Commits](redis/jedis@jedis-1.4.0...v5.1.2)

---
updated-dependencies:
- dependency-name: redis.clients:jedis
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>

* Update pom.xml

* Update pom.xml

* Update pom.xml

* Update pom.xml

* Fix tests

* Fix invalid extracted method

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jonas Kunz <[email protected]>
  • Loading branch information
dependabot[bot] and JonasKunz authored May 23, 2024
1 parent 098ee3c commit 6ed1852
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,10 @@ void testBinaryJedis() {
binaryJedis.set("foo".getBytes(), "bar".getBytes());
assertThat(binaryJedis.get("foo".getBytes())).isEqualTo("bar".getBytes());

verifyBinaryJedisSpans();
}

protected void verifyBinaryJedisSpans() {
assertTransactionWithRedisSpans("CLIENT", "CLIENT", "SET", "GET");
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
<dependency>
<groupId>redis.clients</groupId>
<artifactId>jedis</artifactId>
<version>5.1.0</version>
<version>5.1.2</version>
<scope>test</scope>
</dependency>
</dependencies>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,16 @@ public class Jedis5InstrumentationIT extends Jedis4InstrumentationIT {

@Override
protected void verifyShardedJedisSpan() {
assertTransactionWithRedisSpans("CLIENT", "CLIENT", "CLIENT", "CLIENT", "SET", "GET");
assertTransactionWithRedisSpans("CLIENT", "CLIENT", "PING", "SET", "GET");
}

@Override
protected void verifyBasicJedisSpans() {
assertTransactionWithRedisSpans( "CLIENT", "CLIENT", "SET", "GET");
assertTransactionWithRedisSpans("CLIENT", "CLIENT", "PING", "SET", "GET");
}

@Override
protected void verifyBinaryJedisSpans() {
assertTransactionWithRedisSpans("CLIENT", "CLIENT", "PING", "CLIENT", "CLIENT", "SET", "GET");
}
}

0 comments on commit 6ed1852

Please sign in to comment.