git-sync/_test_tools
Tim Hockin 1894192b0f Run hooks at startup
This ensures we do not miss events.  E.g.

before:
    t0: hash changes to X
    t1: send webhook(X), waiting for response
    t2: hash changes to Y
    t3: queue next webhook(Y) but can't send because previous is not done
    t4: crash
    t5: restart
    t6: find repo at hash Y

    no webhook(Y) was sent.

after:
    t0: hash changes to X
    t1: send webhook(X), waiting for response
    t2: hash changes to Y
    t3: queue next webhook(Y) but can't send because previous is not done
    t4: crash
    t5: restart
    t6: find repo at hash Y
    t7: send webhook(Y), waiting for response
2023-05-29 14:50:24 -07:00
..
ncsvr e2e: Fix ncsvr to wait for input on HTTP 2022-07-03 11:36:05 -07:00
sshd Make sure all code files have headers 2021-05-27 08:46:00 -07:00
exechook_command.sh Run hooks at startup 2023-05-29 14:50:24 -07:00
exechook_command_fail.sh e2e: move helper scripts to _test_tools/ 2023-02-15 12:22:29 -08:00
exechook_command_fail_with_sleep.sh e2e: move helper scripts to _test_tools/ 2023-02-15 12:22:29 -08:00
exechook_command_with_sleep.sh Move worktrees to .worktrees/* 2023-04-29 10:51:13 -07:00
git_askpass.sh e2e: move helper scripts to _test_tools/ 2023-02-15 12:22:29 -08:00
git_slow_fetch.sh Total overhaul of sync loop 2023-04-21 17:25:25 -07:00