Skip to content

Stabilize password debounce test#475

Merged
emil-e merged 1 commit into
dakra:mainfrom
emil-e:fix-password-debounce-test-flake
Jun 26, 2026
Merged

Stabilize password debounce test#475
emil-e merged 1 commit into
dakra:mainfrom
emil-e:fix-password-debounce-test-flake

Conversation

@emil-e

@emil-e emil-e commented Jun 26, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • make ghostel-test-password-debounce-defers-source-call capture the debounce timer instead of sleeping for wall-clock time
  • manually invoke the captured callback to verify the deferred source path still runs once
  • add comments documenting the test flow

Verification

  • emacs --batch -Q -L lisp -L test -l ert -l test/ghostel-test-helpers.el -l test/ghostel-shell-test.el --eval "(ert-run-tests-batch-and-exit 'ghostel-test-password-debounce-defers-source-call)"
  • full native ghostel-shell-test.el passed before the comment-only clarification

@emil-e
emil-e merged commit 714c1d9 into dakra:main Jun 26, 2026
59 of 62 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant