Skip to content

Commit eae0cf5

Browse files
committed
[MINOR] Verify appId is null in LivyInterpreterIT
1 parent b6beda6 commit eae0cf5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

livy/src/test/java/org/apache/zeppelin/livy/LivyInterpreterIT.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -495,7 +495,8 @@ public void testSparkInterpreterWithDisplayAppInfo_StringWithoutTruncation()
495495
InterpreterResult result = sparkInterpreter.interpret("sc.version", context);
496496
assertEquals(InterpreterResult.Code.SUCCESS, result.code());
497497
assertEquals(2, result.message().size());
498-
assertTrue(result.message().get(1).getData().contains("Spark Application Id"));
498+
// check yarn appId and ensure it is not null
499+
assertTrue(result.message().get(1).getData().contains("Spark Application Id: application_"));
499500

500501
// html output
501502
String htmlCode = "println(\"%html <h1> hello </h1>\")";

0 commit comments

Comments
 (0)