[clsi] Fix compile stop detection in local runner (#33024)

* [clsi] Fix compile stop detection in local runner

* Tighten compilation cancelled message

* Cleanup process PID on `error`

GitOrigin-RevId: 61495466b98c127402b256d629ea58e7b9be6df7
This commit is contained in:
Miguel Serrano
2026-05-28 08:05:44 +00:00
committed by Copybot
parent 8ce9d184cb
commit 4cfaea4621
2 changed files with 11 additions and 3 deletions
+1 -1
View File
@@ -98,7 +98,7 @@ describe('SandboxedCompiles', function () {
stopCompile({ delay: 1000 })
cy.findByRole('region', { name: 'PDF preview' })
.invoke('text')
.should('match', /No PDF|PDF Rendering Error|Compilation cancelled/)
.should('match', /Compilation cancelled/)
// Check that the previous compile is not running in the background by
// disabling the infinite loop and recompiling
cy.findByText('\\def').parent().click()