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

xtree cancel takes longer than 50 ms #66

Closed
nickodell opened this issue Nov 26, 2017 · 1 comment
Closed

xtree cancel takes longer than 50 ms #66

nickodell opened this issue Nov 26, 2017 · 1 comment

Comments

@nickodell
Copy link
Contributor

nickodell commented Nov 26, 2017

The testcase "XTree<3> cancellation" consistently fails on my system.

Reproduction

Run ./ao/test/ao-test "XTree<3> cancellation"

Output:

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ao-test is a Catch v1.1 b3 host application.
Run with -? for options

-------------------------------------------------------------------------------
XTree<3> cancellation
-------------------------------------------------------------------------------
/home/nick/ao/ao/test/xtree.cpp:212
...............................................................................

/home/nick/ao/ao/test/xtree.cpp:237: FAILED:
  REQUIRE( elapsed_ms.count() < 50 )
with expansion:
  79 < 50

===============================================================================
test cases: 1 | 1 failed
assertions: 1 | 1 failed

(The number of milliseconds it takes varies from 55 to 80.)

Removing cancel

If cancel.store(true); is commented out, the computation takes 433816 milliseconds.

End user visible impact

None known.

@mkeeter
Copy link
Member

mkeeter commented Nov 27, 2017

Okay, I've bumped that timeout a little bit, given the range that you found.

@mkeeter mkeeter closed this as completed Nov 27, 2017
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

No branches or pull requests

2 participants