mirror of
https://github.com/apache/zeppelin
synced 2026-05-24 09:38:26 +00:00
[ZEPPELIN-1363] fix tests
This commit is contained in:
parent
bf8194e6f4
commit
29eaca241c
2 changed files with 3 additions and 3 deletions
|
|
@ -56,7 +56,7 @@ public class TimeoutLifecycleManagerTest extends AbstractInterpreterTest {
|
|||
RemoteInterpreter remoteInterpreter = (RemoteInterpreter) interpreterFactory.getInterpreter("user1", "note1", "test.echo");
|
||||
InterpreterContext context = new InterpreterContext("noteId", "paragraphId", "repl",
|
||||
"title", "text", AuthenticationInfo.ANONYMOUS, new HashMap<String, Object>(), new GUI(),
|
||||
null, null, new ArrayList<InterpreterContextRunner>(), null);
|
||||
new GUI(), null, null, new ArrayList<InterpreterContextRunner>(), null);
|
||||
remoteInterpreter.interpret("hello world", context);
|
||||
assertTrue(remoteInterpreter.isOpened());
|
||||
InterpreterSetting interpreterSetting = interpreterSettingManager.getInterpreterSettingByName("test");
|
||||
|
|
@ -95,7 +95,7 @@ public class TimeoutLifecycleManagerTest extends AbstractInterpreterTest {
|
|||
protected Object jobRun() throws Throwable {
|
||||
InterpreterContext context = new InterpreterContext("noteId", "paragraphId", "repl",
|
||||
"title", "text", AuthenticationInfo.ANONYMOUS, new HashMap<String, Object>(), new GUI(),
|
||||
null, null, new ArrayList<InterpreterContextRunner>(), null);
|
||||
new GUI(), null, null, new ArrayList<InterpreterContextRunner>(), null);
|
||||
return remoteInterpreter.interpret("100000", context);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -431,7 +431,7 @@ public class RemoteInterpreterTest {
|
|||
Map<String, Input> expected = new LinkedHashMap<>(gui.getForms());
|
||||
Interpreter interpreter = interpreterSetting.getDefaultInterpreter("user1", "note1");
|
||||
InterpreterContext context = new InterpreterContext("noteId", "paragraphId", "repl", null,
|
||||
null, AuthenticationInfo.ANONYMOUS, new HashMap<String, Object>(), gui,
|
||||
null, AuthenticationInfo.ANONYMOUS, new HashMap<String, Object>(), gui, new GUI(),
|
||||
null, null, new ArrayList<InterpreterContextRunner>(), null);
|
||||
|
||||
interpreter.interpret("text", context);
|
||||
|
|
|
|||
Loading…
Reference in a new issue