Commit Graph

3 Commits

Author SHA1 Message Date
Ben Langmuir
3384ea823b [test] Disable cursor_no_cancel test that crashes occassionaly in CI
Need to investigate this before reenabling.
2018-01-12 11:53:40 -08:00
Ben Langmuir
9271368b46 [test] Attempt to gather more information if cursor_no_cancel crashes
We saw this test crash once, but the stack trace was eaten by FileCheck
because we are consuming stderr. Now if the test fails it should dump
the full output, which should include the stack trace.
2017-09-13 10:18:02 -07:00
Ben Langmuir
d13b1c719f [cursor-info] Add a way to opt out of automatic request cancellation
The OncePerASTToken machinery lets us automatically cancel "stale"
requests after a new one comes in.  This avoid wasting time processing
requests that have been superceded, which is common for cursor-info, but
sometimes you really want to get results even later, so this commit adds
a way to opt out of the cancellation.

Incidentally, disable cancellation of name translation, which doesn't
really make sense and no one should be relying on that.

rdar://problem/31905379
2017-05-08 12:01:33 -07:00