Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TestExecContextCancel: Reduce timeout to make less flaky #879

Merged
merged 1 commit into from Nov 16, 2020

Commits on Nov 15, 2020

  1. TestExecContextCancel: Reduce timeout to make less flaky

    This test fails fairly often. On my system, I can trigger it with:
    
        go test . -run=TestExecContextCancel -count=10 -failfast -v
    
    This makes the test less flaky by timing out the context after a
    consistent 50 millisecond delay. This was enough time for the query
    to start, then get cancelled with sqlite3_interrupt() in my tests.
    This now passes the above check.
    
    This is a modified version of the change suggested in:
    mattn#865
    evanj committed Nov 15, 2020
    Copy the full SHA
    0d9f18b View commit details
    Browse the repository at this point in the history