[
https://issues.apache.org/jira/browse/METRON-1113?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16130430#comment-16130430
]
ASF GitHub Bot commented on METRON-1113:
----------------------------------------
Github user cestella commented on the issue:
https://github.com/apache/metron/pull/701
Yep, this makes sense. The static block ensures that the mock hbase table
will be created first. +1
> UpdateControllerIntegrationTest fails with 500 error
> ----------------------------------------------------
>
> Key: METRON-1113
> URL: https://issues.apache.org/jira/browse/METRON-1113
> Project: Metron
> Issue Type: Bug
> Reporter: Ryan Merriman
> Assignee: Ryan Merriman
>
> The UpdateControllerIntegrationTest is failing after unrelated changes to the
> metron-rest module with this error:
> {"responseCode":500,"message":"Cannot find the global
> config.\njava.lang.IllegalStateException: Cannot find the global config....}
> I believe this is due to "MockHBaseTableProvider.addToCache(TABLE, CF);"
> being called in multiple tests when it should only be called once.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)