Skip to content

Fix flaky tests on Windows#525

Merged
FedericoPonzi merged 3 commits into
tlaplus:masterfrom
FedericoPonzi:fponzi/improve-latex-win
May 8, 2026
Merged

Fix flaky tests on Windows#525
FedericoPonzi merged 3 commits into
tlaplus:masterfrom
FedericoPonzi:fponzi/improve-latex-win

Conversation

@FedericoPonzi
Copy link
Copy Markdown
Collaborator

@FedericoPonzi FedericoPonzi commented May 7, 2026

ref: #518 (comment)
I'll run CI a few times and fix any flakiness that comes in the way.

  • Add retries for pdflatex installs on windows - sometimes the upstream goes into timeout. Apparently there is no native retry support.
  • checkModelCancel was not stubbing parseSpec, causing timeout errors at times when sany was to slow to spawn and finish run.
  • the initial sany load in divergence test is quite slow reaching the timeout. Next load takes 3s, and 300ms thereafter. Increased the timeout. This is just an hypothesis, I'm geniunly surprised it takes >15s to finish run that test.

Signed-off-by: Federico Ponzi <me@fponzi.me>
…ndows

Signed-off-by: Federico Ponzi <me@fponzi.me>
Signed-off-by: Federico Ponzi <me@fponzi.me>
@FedericoPonzi FedericoPonzi changed the title Add retries for pdflatex installs on windows Fix flaky tests on Windows May 7, 2026
@FedericoPonzi FedericoPonzi merged commit acc095d into tlaplus:master May 8, 2026
55 checks passed
@FedericoPonzi FedericoPonzi deleted the fponzi/improve-latex-win branch May 8, 2026 15:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant