Skip to content
This repository has been archived by the owner on Nov 22, 2018. It is now read-only.

Exception thrown after 'timeout' #100

Closed
deepsorrow opened this issue Jan 6, 2017 · 1 comment
Closed

Exception thrown after 'timeout' #100

deepsorrow opened this issue Jan 6, 2017 · 1 comment
Assignees

Comments

@deepsorrow
Copy link

deepsorrow commented Jan 6, 2017

Whenever I try to run one of the Tests and when std::chrono::seconds timeout(somevalue) runs out, this is what pops up:
313
I use VS 2017 RC, my OS is Windows 10 x64
Could you please help me?

UPD:
I've just figured it out that everything works fine in 'Release' mode.

@janhohenheim
Copy link
Owner

This our not-so-clean solution for letting tests fail if they time out. See #63 and #90.

The time values were found empirically by testing the release mode, that's why you are getting these results.
To override the time settings, change the value in line std::chrono::seconds timeout(100); to how many seconds you need.

Btw, if you're wondering why a simple XOR test takes so long, it's because this specific test gets extensively logged in the background. I advise you to delete your json_dumps folder once you've run the test multiple times ;)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants