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

Github Workflows #82

Draft
wants to merge 24 commits into
base: master
Choose a base branch
from
Draft

Github Workflows #82

wants to merge 24 commits into from

Conversation

senkevinli
Copy link
Contributor

Adds Github Workflows CI (Travis untouched).

@@ -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",
Copy link
Contributor Author

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);
Copy link
Contributor Author

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.

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

Successfully merging this pull request may close these issues.

1 participant