You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by ct...@apache.org on 2021/04/19 16:04:39 UTC

[accumulo] branch main updated: Fix WebViewsIT

This is an automated email from the ASF dual-hosted git repository.

ctubbsii pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/accumulo.git


The following commit(s) were added to refs/heads/main by this push:
     new 8dfe443  Fix WebViewsIT
8dfe443 is described below

commit 8dfe443af55f5d3aacb12fb38c5002dcb61cb772
Author: Christopher Tubbs <ct...@apache.org>
AuthorDate: Mon Apr 19 12:02:03 2021 -0400

    Fix WebViewsIT
    
    Fix WebViewsIT, broken by addition of new unexpected method call in mock
    code, re #2020
    
    Co-authored-by: Karthick Narendran <ka...@gmail.com>
---
 .../monitor/src/test/java/org/apache/accumulo/monitor/it/WebViewsIT.java | 1 +
 1 file changed, 1 insertion(+)

diff --git a/server/monitor/src/test/java/org/apache/accumulo/monitor/it/WebViewsIT.java b/server/monitor/src/test/java/org/apache/accumulo/monitor/it/WebViewsIT.java
index 9b11c47..27a6c76 100644
--- a/server/monitor/src/test/java/org/apache/accumulo/monitor/it/WebViewsIT.java
+++ b/server/monitor/src/test/java/org/apache/accumulo/monitor/it/WebViewsIT.java
@@ -93,6 +93,7 @@ public class WebViewsIT extends JerseyTest {
     expect(contextMock.getConfiguration()).andReturn(DefaultConfiguration.getInstance()).anyTimes();
     expect(contextMock.getInstanceID()).andReturn("foo").atLeastOnce();
     expect(contextMock.getInstanceName()).andReturn("foo").anyTimes();
+    expect(contextMock.getZooKeepers()).andReturn("foo:2181").anyTimes();
 
     Monitor monitorMock = EasyMock.createMock(Monitor.class);
     expect(monitorMock.getContext()).andReturn(contextMock).anyTimes();