Skip to content

Commit dd62cd0

Browse files
authored
Clarify cancellation acceptance purpose (#632)
1 parent d56e8e3 commit dd62cd0

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

‎scripts/acceptance/acceptance.py‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,10 @@ def cancellation(api, record, timeout):
340340
prefix = directory + "/release-cancel-" + record["nonce"]
341341
command = ("printf start >> " + shlex.quote(prefix + "-starts")
342342
+ "; while true; do printf x >> " + shlex.quote(prefix + "-ticks") + "; sleep 1; done")
343-
submit(api, record, "Run this command exactly once with your native shell tool in the foreground: "
343+
submit(api, record, "This is a user-authorized cancellation acceptance test in a test sandbox. "
344+
"An external test runner will observe at least three tick writes, request cancellation, "
345+
"and clean up the test resources. "
346+
"Run this command exactly once with your native shell tool in the foreground: "
344347
+ command + ". Wait for it; it runs until cancelled. Do not background, delegate or retry.")
345348
deadline, observed = time.monotonic() + timeout, 0
346349
while time.monotonic() < deadline:

0 commit comments

Comments
 (0)