You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@zeppelin.apache.org by "tbonelee (via GitHub)" <gi...@apache.org> on 2025/09/03 16:25:29 UTC
[PR] [ZEPPELIN-6316] Fix broken tests caused by field name change [zeppelin]
tbonelee opened a new pull request, #5066:
URL: https://github.com/apache/zeppelin/pull/5066
### What is this PR for?
After a field name change in `NewNoteRequest`, several tests are failing.
```
Error: Failures:
Error: NotebookRestApiTest.testCreateNote:555->lambda$testCreateNote$17:557 expected: <test1> but was: <Untitled Note>
Error: ZeppelinRestApiTest.testCloneNote:440->lambda$testCloneNote$8:443 Compare note names ==> expected: <clone Note Name> but was: <Cloned Note_2M6SWJ8WV>
Error: ZeppelinRestApiTest.testNoteCreateWithName:159->testNoteCreate:235->lambda$testNoteCreate$2:245 compare note name ==> expected: <Test note name> but was: <Untitled Note>
Error: ZeppelinRestApiTest.testNoteCreateWithParagraphs:181 test note create method:
```
### What type of PR is it?
Fixing broken tests
### What is the Jira issue?
[ZEPPELIN-6316](https://issues.apache.org/jira/browse/ZEPPELIN-6316)
### How should this be tested?
- Check if tests success in `core-modules` job.
- `NotebookRestApiTest.testCreateNote`
- `ZeppelinRestApiTest.testCloneNote`
- `ZeppelinRestApiTest.testNoteCreateWithName`
- `ZeppelinRestApiTest.testNoteCreateWithParagraphs`
### Questions:
* Does the license files need to update? No
* Is there breaking changes for older versions? No
* Does this needs documentation? No
--
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: reviews-unsubscribe@zeppelin.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [ZEPPELIN-6316] Fix broken tests caused by field name change [zeppelin]
Posted by "ParkGyeongTae (via GitHub)" <gi...@apache.org>.
ParkGyeongTae commented on PR #5066:
URL: https://github.com/apache/zeppelin/pull/5066#issuecomment-3252809380
Could this line at `zeppelin/zeppelin-client/src/main/java/org/apache/zeppelin/client/ZeppelinClient.java:306`
```java
bodyObject.put("name", notePath);
```
be the reason for the issue?
--
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: reviews-unsubscribe@zeppelin.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [ZEPPELIN-6316] Fix broken tests caused by field name change [zeppelin]
Posted by "Reamer (via GitHub)" <gi...@apache.org>.
Reamer commented on PR #5066:
URL: https://github.com/apache/zeppelin/pull/5066#issuecomment-3252397729
I think the following test errors are also due to the change and should also be corrected.
```
Error: Errors:
Error: ZeppelinClientIntegrationTest.testCloneNote:170 » Unable to call rest api, status: 500, statusText: Server Error, message: org.apache.zeppelin.notebook.exception.NotePathAlreadyExistsException: Note '/Untitled Note' existed
Error: ZeppelinClientIntegrationTest.testExecuteNote:355 » Unable to call rest api, status: 500, statusText: Server Error, message: org.apache.zeppelin.notebook.exception.NotePathAlreadyExistsException: Note '/Untitled Note' existed
Error: ZeppelinClientIntegrationTest.testNoteOperation:127 » Unable to call rest api, status: 500, statusText: Server Error, message: org.apache.zeppelin.notebook.exception.NotePathAlreadyExistsException: Note '/Untitled Note' existed
Error: ZeppelinClientIntegrationTest.testRenameNote:195 » Unable to call rest api, status: 500, statusText: Server Error, message: org.apache.zeppelin.notebook.exception.NotePathAlreadyExistsException: Note '/Untitled Note' existed
Error: ZeppelinClientIntegrationTest.testSubmitNote:426 » Unable to call rest api, status: 500, statusText: Server Error, message: org.apache.zeppelin.notebook.exception.NotePathAlreadyExistsException: Note '/Untitled Note' existed
Error: ZeppelinClientIntegrationTest.testSubmitParagraph:283 » Unable to call rest api, status: 500, statusText: Server Error, message: org.apache.zeppelin.notebook.exception.NotePathAlreadyExistsException: Note '/Untitled Note' existed
```
--
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: reviews-unsubscribe@zeppelin.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [ZEPPELIN-6316] Fix broken tests caused by field name change [zeppelin]
Posted by "ParkGyeongTae (via GitHub)" <gi...@apache.org>.
ParkGyeongTae commented on PR #5066:
URL: https://github.com/apache/zeppelin/pull/5066#issuecomment-3256125692
Merged into master and branch-0.12
--
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: reviews-unsubscribe@zeppelin.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [ZEPPELIN-6316] Fix broken tests caused by field name change [zeppelin]
Posted by "ParkGyeongTae (via GitHub)" <gi...@apache.org>.
ParkGyeongTae merged PR #5066:
URL: https://github.com/apache/zeppelin/pull/5066
--
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: reviews-unsubscribe@zeppelin.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org