Skip to content

Commit

Permalink
Fixed functionality of the power function.
Browse files Browse the repository at this point in the history
  • Loading branch information
SanHalacogluImproving committed Mar 12, 2024
1 parent f9cbb19 commit cb3389c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public void send_and_receive_large_values() {
RedisClusterClient client =
RedisClusterClient.CreateClient(commonClusterClientConfig().build()).get();

int length = 2 ^ 16;
int length = 65536;
String key = getRandomString(length);
String value = getRandomString(length);

Expand Down Expand Up @@ -109,7 +109,7 @@ public void send_and_receive_non_ascii_unicode() {

@SneakyThrows
@ParameterizedTest
@ValueSource(ints = {100, 2 ^ 16})
@ValueSource(ints = {100, 65536})
public void client_can_handle_concurrent_workload(int valueSize) {
ExecutorService executorService = Executors.newCachedThreadPool();
RedisClusterClient client =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public void register_client_name_and_version() {
public void send_and_receive_large_values() {
RedisClient client = RedisClient.CreateClient(commonClientConfig().build()).get();

int length = 2 ^ 16;
int length = 65536;
String key = getRandomString(length);
String value = getRandomString(length);

Expand Down Expand Up @@ -94,7 +94,7 @@ public void send_and_receive_non_ascii_unicode() {

@SneakyThrows
@ParameterizedTest
@ValueSource(ints = {100, 2 ^ 16})
@ValueSource(ints = {100, 65536})
public void client_can_handle_concurrent_workload(int valueSize) {
ExecutorService executorService = Executors.newCachedThreadPool();
RedisClient client = RedisClient.CreateClient(commonClientConfig().build()).get();
Expand Down

0 comments on commit cb3389c

Please sign in to comment.