BagusThanatos commented on a change in pull request #4298:
URL: https://github.com/apache/zeppelin/pull/4298#discussion_r814590258
##########
File path:
zeppelin-plugins/notebookrepo/gcs/src/test/java/org/apache/zeppelin/notebook/repo/GCSNotebookRepoTest.java
##########
@@ -187,6 +187,28 @@ public void testRemove() throws Exception {
assertThat(storage.get(makeBlobId(runningNote.getId(),
runningNote.getPath()))).isNull();
}
+ @Test
+ public void testRemoveFolder_nonexistent() throws Exception {
+ try {
+ notebookRepo.remove("id", "/name", AUTH_INFO);
+ fail();
+ } catch (IOException e) {}
Review comment:
I see
That can do
I was following the previous tests written in the class
Changing it.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]