Skip to content
This repository has been archived by the owner on May 13, 2022. It is now read-only.

Add signalling so tests know when yield-generator has started #499

Open
chris-belcher opened this issue Apr 16, 2016 · 1 comment
Open

Comments

@chris-belcher
Copy link
Collaborator

One issue on some machines is the test suite has a hardcoded wait time after creating a yield-generator.
It would be better to have the yield generator signal to the test suite that it's ready.

Here is one way to do this:
When yield-generator is ready it does the equivalent of touch logs/yigen-statement.csv.
The test suite simply loops and waits for the last modified time to be updated.

@chris-belcher
Copy link
Collaborator Author

chris-belcher commented Apr 16, 2016

A problem with this is it only works for one yield generator. Maybe use another file instead of yigen-statement.csv, one file for each bot.

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

No branches or pull requests

1 participant