File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
jnosql-redis/src/test/java/org/eclipse/jnosql/databases/redis Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -39,8 +39,8 @@ public String host() {
3939 return redis .getHost ();
4040 }
4141
42- public int port () {
43- return redis .getFirstMappedPort ();
42+ public String port () {
43+ return String . valueOf ( redis .getFirstMappedPort () );
4444 }
4545
4646 @ Override
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ public class RedisDBTemplateSupplier implements TemplateSupplier {
2929
3030 static {
3131 System .setProperty (RedisConfigurations .HOST .get (), KeyValueDatabase .INSTANCE .host ());
32- System .setProperty (( RedisConfigurations .PORT .get (), KeyValueDatabase .INSTANCE .port ());
32+ System .setProperty (RedisConfigurations .PORT .get (), KeyValueDatabase .INSTANCE .port ());
3333 System .setProperty (MappingConfigurations .KEY_VALUE_DATABASE .get (), "jakarta-nosql-tck" );
3434 SeContainerInitializer .newInstance ().initialize ();
3535 }
You can’t perform that action at this time.
0 commit comments