• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

gnosis / dex-services / 4754
31%

Build:
DEFAULT BRANCH: master
Ran 13 Aug 2020 12:46PM UTC
Jobs 1
Files 94
Run time 29s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

13 Aug 2020 12:34PM UTC coverage: 29.014% (+0.009%) from 29.005%
4754

push

travis-pro

web-flow
Health endpoint (#1304)

This PR introduces a `health` filter so that the price estimator can signal to our deployment that it is ready and we can implement rolling updates for 0 downtime goodness.

This is implemented in the `core` crate since `driver` will need to have an endpoint running in the background as well.

### Test Plan

New unit test for filter, and
```
$ cargo run -p price-estimator
```

While it is starting up, check that the `health` endpoint does not respond:
```
$ curl -i 'http://localhost:8080/health'
curl: (7) Failed to connect to localhost port 8080: Connection refused
```

Wait for the `price-estimator` to be ready:
```
2020-08-12T19:56:34.396Z INFO [price_estimator] Server ready.
```

Then check that the `health` endpoint responds correctly:
```
$ curl -i 'http://localhost:8080/health'
HTTP/1.1 204 No Content
cache-control: no-store
content-length: 0
date: Wed, 12 Aug 2020 19:56:36 GMT
```

12341 of 48876 branches covered (25.25%)

Branch coverage included in aggregate %.

3362 of 5247 relevant lines covered (64.07%)

27553.87 hits per line

Jobs
ID Job ID Ran Files Coverage
3 4754.3 (OPEN_SOLVER_VERSION=v0.0.11 PRIVATE_SOLVER_VERSION=v0.8.2) 13 Aug 2020 12:46PM UTC 0
29.01
Travis Job 4754.3
Source Files on build 4754
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #4754
  • 88a62eae on github
  • Prev Build on master (#4750)
  • Next Build on master (#4757)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc