Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
hiddenalpha committed May 21, 2024
1 parent d7506f0 commit 4ff1102
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@
import org.swisspush.gateleen.scheduler.SchedulerResourceManager;
import org.swisspush.gateleen.user.RoleProfileHandler;
import org.swisspush.gateleen.user.UserProfileHandler;
import org.swisspush.reststorage.exception.RestStorageExceptionFactory;
import redis.clients.jedis.Jedis;

import javax.management.*;
Expand All @@ -83,7 +82,7 @@
import java.util.Map;
import java.util.Set;

import static org.swisspush.reststorage.exception.RestStorageExceptionFactory.newRestStorageWastefulExceptionFactory;
import static org.swisspush.gateleen.core.exception.GateleenExceptionFactory.newGateleenWastefulExceptionFactory;

/**
* TestVerticle all Gateleen tests. <br />
Expand Down Expand Up @@ -173,7 +172,7 @@ public static void setupBeforeClass(TestContext context) {
RoleProfileHandler roleProfileHandler = new RoleProfileHandler(vertx, storage, SERVER_ROOT + "/roles/v1/([^/]+)/profile");
qosHandler = new QoSHandler(vertx, storage, SERVER_ROOT + "/admin/v1/qos", props, PREFIX);

Lock lock = new RedisBasedLock(redisProvider, newRestStorageWastefulExceptionFactory());
Lock lock = new RedisBasedLock(redisProvider, newGateleenWastefulExceptionFactory());

QueueClient queueClient = new QueueClient(vertx, monitoringHandler);
ReducedPropagationManager reducedPropagationManager = new ReducedPropagationManager(vertx,
Expand Down

0 comments on commit 4ff1102

Please sign in to comment.