dididy commented on code in PR #5101:
URL: https://github.com/apache/zeppelin/pull/5101#discussion_r2466348589


##########
zeppelin-web-angular/e2e/global-teardown.ts:
##########
@@ -17,6 +17,63 @@ async function globalTeardown() {
 
   LoginTestUtil.resetCache();
   console.log('✅ Test cache cleared');
+
+  // Clean up test notebooks that may have been left behind due to test 
failures
+  await cleanupTestNotebooks();
+}
+
+async function cleanupTestNotebooks() {

Review Comment:
   It seems to me that this approach would require restarting the server. Could 
you confirm if I understood that correctly? If so, it might feel a bit awkward. 
In the meantime, I’ll check whether a method that doesn’t rely on a REST 
API—such as using sockets—would be feasible.



-- 
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]

Reply via email to