Skip to content

Commit

Permalink
experiment
Browse files Browse the repository at this point in the history
Signed-off-by: Yury-Fridlyand <[email protected]>
  • Loading branch information
Yury-Fridlyand committed Nov 23, 2024
1 parent db67a49 commit 0536dd1
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,25 @@
import glide.api.models.configuration.ServerCredentials;
import glide.api.models.exceptions.ClosingException;
import glide.api.models.exceptions.RequestException;
import glide.api.logging.Logger;
import java.util.Map;
import java.util.UUID;
import java.util.concurrent.ExecutionException;
import lombok.SneakyThrows;
import org.apache.commons.lang3.RandomStringUtils;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.Timeout;

@Timeout(10) // seconds
public class ClusterClientTests {

@BeforeAll
public static void enable_log() {
Logger.init(Logger.Level.TRACE);
Logger.setLoggerConfig(Logger.Level.TRACE);
}

@SneakyThrows
@Test
public void register_client_name_and_version() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,13 @@
import glide.api.models.configuration.ServerCredentials;
import glide.api.models.exceptions.ClosingException;
import glide.api.models.exceptions.RequestException;
import glide.api.logging.Logger;
import java.util.Map;
import java.util.UUID;
import java.util.concurrent.ExecutionException;
import lombok.SneakyThrows;
import org.apache.commons.lang3.RandomStringUtils;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.Timeout;
import org.junit.jupiter.params.ParameterizedTest;
Expand All @@ -29,6 +31,12 @@
@Timeout(10) // seconds
public class StandaloneClientTests {

@BeforeAll
public static void enable_log() {
Logger.init(Logger.Level.TRACE);
Logger.setLoggerConfig(Logger.Level.TRACE);
}

@SneakyThrows
@Test
public void register_client_name_and_version() {
Expand Down

0 comments on commit 0536dd1

Please sign in to comment.