You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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).
The text was updated successfully, but these errors were encountered:
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
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).
The text was updated successfully, but these errors were encountered: