Skip to content

Commit

Permalink
Revert "fix build after Elastic upgrade"
Browse files Browse the repository at this point in the history
This reverts commit 2ef460f.
  • Loading branch information
nicoloboschi committed Jan 21, 2022
1 parent 7eadbe1 commit 06d0a9d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
*/
package org.apache.pulsar.tests.integration.auth.admin;

import com.google.common.collect.ImmutableSet;
import com.google.common.io.Files;
import lombok.Cleanup;
import lombok.extern.slf4j.Slf4j;
Expand All @@ -34,6 +33,7 @@
import org.apache.pulsar.tests.integration.topologies.PulsarCluster;
import org.apache.pulsar.tests.integration.topologies.PulsarClusterSpec;
import org.apache.pulsar.tests.integration.utils.DockerUtils;
import org.elasticsearch.common.collect.Set;
import org.testcontainers.containers.Network;
import org.testcontainers.shaded.org.apache.commons.lang.RandomStringUtils;
import org.testng.annotations.AfterClass;
Expand Down Expand Up @@ -203,7 +203,7 @@ public void testPackagesOps() throws Exception {

// grant package permission to the role
superUserAdmin.namespaces().grantPermissionOnNamespace("public/default",
REGULAR_USER_ROLE, ImmutableSet.of(AuthAction.packages));
REGULAR_USER_ROLE, Set.of(AuthAction.packages));

// then do some package operations again, it should success
List<String> packagesName = clientAdmin.packages().listPackages("function", "public/default");
Expand Down

0 comments on commit 06d0a9d

Please sign in to comment.