-
Notifications
You must be signed in to change notification settings - Fork 2
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
Github Workflows #82
base: master
Are you sure you want to change the base?
Github Workflows #82
Conversation
@@ -8,7 +8,7 @@ | |||
"start": "node ./bin/start-service", | |||
"build": "babel src --out-dir lib", | |||
"build-msg": "mkdir -p lib && pbjs -t static-module --es6 --keep-case -o src/messages.js src/messages/*.proto", | |||
"test": "jest", | |||
"test": "jest --runInBand", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Solves issue of test flakiness mentioned in #59. Jest by default runs tests in parallel, so multiple tests were modifying the sqlite file at the same time (hence the unexplained behavior of rolling back a transaction that wasn't underway).
@@ -82,7 +82,7 @@ export default class SyncBackend { | |||
const { body: msg } = | |||
await request.get(this._syncUrl + '/api/available') | |||
.proto(imagery.AvailableImages) | |||
.timeout(5000); | |||
.timeout(3000); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
5 second timeout is causing some tests to fail intermittently.
Adds Github Workflows CI (Travis untouched).