Skip to content

Commit

Permalink
apply comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
Technoboy- committed Oct 17, 2022
1 parent ae5a02b commit b280a3a
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@

import static org.testng.Assert.assertEquals;
import static org.testng.Assert.fail;
import lombok.SneakyThrows;
import org.apache.pulsar.client.admin.PulsarAdmin;
import org.apache.pulsar.client.admin.PulsarAdminBuilder;
import org.apache.pulsar.client.api.PulsarClientException;
Expand All @@ -43,8 +42,7 @@ public void testAdminBuilderWithServiceUrlNotSet() throws PulsarClientException
}

@Test
@SneakyThrows
public void testGetPropertiesFromConf() {
public void testGetPropertiesFromConf() throws Exception {
Map<String, Object> config = new HashMap<>();
config.put("serviceUrl", "pulsar://localhost:6650");
config.put("requestTimeoutMs", 10);
Expand Down

0 comments on commit b280a3a

Please sign in to comment.