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

Flip the script on the automated testing #65

Open
koenbollen opened this issue Oct 18, 2023 · 0 comments
Open

Flip the script on the automated testing #65

koenbollen opened this issue Oct 18, 2023 · 0 comments

Comments

@koenbollen
Copy link
Collaborator

Currently we run our cucumber feature tests using nodejs, and this node environment spins up a backend etc. We would like to flip this around, making it that we run the tests in Go and spin up a headless browser to run the client code.

This will make it easier for us to test state and will make the test run faster and more stable (letting us write more tests).

erikdubbelboer added a commit that referenced this issue Jun 18, 2024
Otherwise there are issues when running the test locally on a machine
that isn't in UTC. CURRENT_TIMESTAMP in the postgress container will
return a time in UTC, but time.Now() will return it in the local time
which messes up the TimeoutManager.

I found this when running tests with the TimeoutManager, and noticed it
was timing out peers immediately instead of after the minute that is
configured.

Since we can't test the database in tests we can't write a feature test
for this yet. We'll have to write this after
#65
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant