geehanlin created RANGER-4313:
---------------------------------
Summary: fix typo in DefaultSchemaRegistryClient to achieve mvn
test
Key: RANGER-4313
URL: https://issues.apache.org/jira/browse/RANGER-4313
Project: Ranger
Issue Type: Bug
Components: plugins
Reporter: geehanlin
fix typo in DefaultSchemaRegistryClient, otherwise `mvn test` will fail like
below
```
[INFO] -------------------------------------------------------
[INFO] T E S T S
[INFO] -------------------------------------------------------
[INFO] Running
org.apache.ranger.services.schema.registry.client.SchemaRegistryResourceMgrTest
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.584 s
<<< FAILURE! - in
org.apache.ranger.services.schema.registry.client.SchemaRegistryResourceMgrTest
[ERROR]
org.apache.ranger.services.schema.registry.client.SchemaRegistryResourceMgrTest.getSchemaRegistryResources
Time elapsed: 0.424 s <<< ERROR!
java.lang.Error:
Unresolved compilation problem:
Syntax error on token ";", delete this token
at
org.apache.ranger.services.schema.registry.client.connection.DefaultSchemaRegistryClient.<init>(DefaultSchemaRegistryClient.java:36)
at
org.apache.ranger.services.schema.registry.client.AutocompletionAgent.<init>(AutocompletionAgent.java:50)
at
org.apache.ranger.services.schema.registry.client.util.TestAutocompletionAgent.<init>(TestAutocompletionAgent.java:28)
at
org.apache.ranger.services.schema.registry.client.SchemaRegistryResourceMgrTest.getSchemaRegistryResources(SchemaRegistryResourceMgrTest.java:39)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
at
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
at
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
```
--
This message was sent by Atlassian Jira
(v8.20.10#820010)