You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zeppelin.apache.org by Leemoonsoo <gi...@git.apache.org> on 2017/01/04 16:40:52 UTC

[GitHub] zeppelin issue #1814: [ZEPPELIN-1869] changed the API response to generate t...

Github user Leemoonsoo commented on the issue:

    https://github.com/apache/zeppelin/pull/1814
  
    @cloverhearts I think you need update related unittests, too.
    
    ```
    Results :
    
    Failed tests: 
      InterpreterRestApiTest.testAddDeleteRepository:352 Test create method:
    Expected: HTTP response <201> from /api/interpreter/repository/
         but: got <200> OK
      InterpreterRestApiTest.testCreatedInterpreterDependencies:171 test create method:
    Expected: HTTP response <201> from /api/interpreter/setting
         but: got <200> OK
      InterpreterRestApiTest.testSettingsCRUD:124 test create method:
    Expected: HTTP response <201> from /api/interpreter/setting/
         but: got <200> OK
      ZeppelinRestApiTest.testCloneNote:329 test note clone method:
    Expected: HTTP response <201> from /api/notebook/2C7FSPHN2
         but: got <200> OK
      ZeppelinRestApiTest.testImportNotebook:265 
    Expected: HTTP response <201> from /api/notebook/import/
         but: got <200> OK
      ZeppelinRestApiTest.testInsertParagraph:593 Test insert method:
    Expected: HTTP response <201> from /api/notebook/2C6FACAQZ/paragraph
         but: got <200> OK
      ZeppelinRestApiTest.testNoteCreateNoName:127->testNoteCreate:175 test note create method:
    Expected: HTTP response <201> from /api/notebook/
         but: got <200> OK
      ZeppelinRestApiTest.testNoteCreateWithName:122->testNoteCreate:175 test note create method:
    Expected: HTTP response <201> from /api/notebook/
         but: got <200> OK
      ZeppelinRestApiTest.testNoteCreateWithParagraphs:140 test note create method:
    Expected: HTTP response <201> from /api/notebook/
         but: got <200> OK
      NotebookRestApiTest.testCloneNote:129 
    Expected: HTTP response <201> from /api/notebook/2C6JVYEJD
         but: got <200> OK
      NotebookSecurityRestApiTest.testThatOtherUserCannotAccessNoteIfPermissionSet:81->createNoteForUser:155 test note create method:
    Expected: HTTP response <201> from /api/notebook/
         but: got <200> OK
      NotebookSecurityRestApiTest.testThatUserCanSearchNote:115->createNoteForUser:155 test note create method:
    Expected: HTTP response <201> from /api/notebook/
         but: got <200> OK
      NotebookSecurityRestApiTest.testThatWriterCannotRemoveNote:98->createNoteForUser:155 test note create method:
    Expected: HTTP response <201> from /api/notebook/
         but: got <200> OK
      NotebookSecurityRestApiTest.testThatOtherUserCanAccessNoteIfPermissionNotSet:72->createNoteForUser:155 test note create method:
    Expected: HTTP response <201> from /api/notebook/
         but: got <200> OK
      NotebookSecurityRestApiTest.testThatUserCanCreateAndRemoveNote:63->createNoteForUser:155 test note create method:
    Expected: HTTP response <201> from /api/notebook/
         but: got <200> OK
    
    Tests run: 82, Failures: 15, Errors: 0, Skipped: 1
    ```


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---