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

Waiting for the application to start #68

Open
awsoremod opened this issue Aug 4, 2024 · 1 comment
Open

Waiting for the application to start #68

awsoremod opened this issue Aug 4, 2024 · 1 comment

Comments

@awsoremod
Copy link
Contributor

Right now there are fail tests on linux because the request to create the token comes before the application runs.

CreateAppWithData(...)
app.Init()
app.Start()
time.Sleep(100 * time.Millisecond)
issueNewToken(...)

With time.Sleep() specified, the tests pass. Need to think about how to expect the application to run to make it easier to launch from tests.

@stdstring
Copy link

It seems that you may use service channels (similar to service channels in lambda service) for this purposes

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