Skip to content

Commit 9218d65

Browse files
committed
Run only one test method and see Travis reaction
1 parent ee6e43b commit 9218d65

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

spark/src/test/java/org/apache/zeppelin/spark/SparkRInterpreterTest.java

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,9 @@ public void testSuccess() throws Exception {
8585
assertEquals(MOCK_R_INTERPRETER_RESULT, ret.message());
8686
assertEquals(InterpreterResult.Type.HTML, ret.type());
8787
}
88-
88+
// Commenting to leave a single test and see Travis reaction.
89+
// (mvn test -Dtest=SparkRInterpreterTest works fine on local dev env.
90+
/*
8991
@Test
9092
public void testNullContext() throws Exception {
9193
try {
@@ -98,9 +100,9 @@ public void testNullContext() throws Exception {
98100
99101
@Test
100102
public void testNullCommand() throws Exception {
101-
// assertNotNull(sparkInterpreter.getInterpreterGroup());
103+
assertNotNull(sparkInterpreter.getInterpreterGroup());
102104
}
103-
105+
*/
104106
@Test
105107
public void testInterpreterGroup() throws Exception {
106108
InterpreterResult ret = sparkRInterpreter.interpret(null, context);

0 commit comments

Comments
 (0)