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

gnosis / dex-services / 4714
31%

Build:
DEFAULT BRANCH: master
Ran 12 Aug 2020 05:25PM UTC
Jobs 1
Files 93
Run time 34s
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

12 Aug 2020 05:12PM UTC coverage: 28.99% (-0.02%) from 29.008%
4714

push

travis-pro

web-flow
only use one root logger (#1303)

This PR changes the filters to only use one root logger so we don't get spammed with logs for each request.

### Test Plan

Run the price estimator:
```
$ cargo run -p price-estimator -- --orderbook-file target/orderbook-file-mainnet --log-filter warp::filters::log=info
```

In a separate terminal send the following resquests:
```
$ curl -s 'http://localhost:8080/' | jq '.message'
"invalid url path"
$ curl -s 'http://localhost:8080/api/v1/markets/9-7/estimated-buy-amount/1?atoms=false' | jq '.message'
"request with atoms=true for token we don't have erc20 info for"
$ curl -s 'http://localhost:8080/api/v1/markets/9-DAI/estimated-buy-amount/1?atoms=false' | jq '.message'
"token symbol or address not found"
```

And check the logs:
```
2020-08-12T15:13:48.492Z INFO [warp::filters::log] 127.0.0.1:47940 "GET / HTTP/1.1" 404 "-" "curl/7.69.1" 82.229µs
2020-08-12T15:14:00.778Z INFO [warp::filters::log] 127.0.0.1:47944 "GET /api/v1/markets/9-7/estimated-buy-amount/1 HTTP/1.1" 400 "-" "curl/7.69.1" 11.049296ms
2020-08-12T15:14:10.123Z INFO [warp::filters::log] 127.0.0.1:47948 "GET /api/v1/markets/9-DAI/estimated-buy-amount/1 HTTP/1.1" 400 "-" "curl/7.69.1" 343.622µs
```

12325 of 48824 branches covered (25.24%)

Branch coverage included in aggregate %.

3349 of 5242 relevant lines covered (63.89%)

27750.31 hits per line

Jobs
ID Job ID Ran Files Coverage
3 4714.3 (OPEN_SOLVER_VERSION=v0.0.11 PRIVATE_SOLVER_VERSION=v0.8.2) 12 Aug 2020 05:25PM UTC 0
28.99
Travis Job 4714.3
Source Files on build 4714
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #4714
  • fcba6f9d on github
  • Prev Build on master (#4712)
  • Next Build on master (#4723)
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