Skip to content

Commit 1952847

Browse files
committed
ZEPPELIN-501: minor test update
1 parent 6180c86 commit 1952847

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

zeppelin-zengine/src/test/java/org/apache/zeppelin/search/SearchServiceTest.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,11 +65,13 @@ public void startUp() {
6565

6666
@Test //(expected=IllegalStateException.class)
6767
public void canNotSearchBeforeIndexing() {
68-
//given no notebookIndex.index() was made
68+
//given NO notebookIndex.index() was called
6969
//when
7070
List<Map<String, String>> result = notebookIndex.search("anything");
7171
//then
7272
assertThat(result).isEmpty();
73+
//assert logs were printed
74+
//"ERROR org.apache.zeppelin.search.SearchService:97 - Failed to open index dir RAMDirectory"
7375
}
7476

7577
@Test public void canIndexAndReIndex() throws IOException {

0 commit comments

Comments
 (0)