Skip to content

Commit bd5590b

Browse files
committed
fix(drill)
closes #11474
1 parent 278b59a commit bd5590b

File tree

1 file changed

+24
-17
lines changed

1 file changed

+24
-17
lines changed

projects/crates.io/drill/package.yml

Lines changed: 24 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -13,24 +13,31 @@ dependencies:
1313

1414
build:
1515
dependencies:
16-
rust-lang.org: '>=1.56'
17-
rust-lang.org/cargo: '*'
18-
script: cargo install --path . --root {{prefix}}
16+
rust-lang.org: ">=1.56"
17+
rust-lang.org/cargo: "*"
18+
script:
19+
- sed -i '1,20s/^version = ".*"$/version = "{{version}}"/' Cargo.toml
20+
- cargo install --path . --root {{prefix}}
1921

2022
test:
21-
- test "$(drill --version)" = "drill {{version}}"
22-
- run: drill --benchmark $FIXTURE --stats
23-
fixture:
24-
extname: yml
25-
content: |
26-
---
23+
env:
24+
RUST_BACKTRACE: 1
25+
script:
26+
- test "$(drill --version)" = "drill {{version}}"
27+
# 0.9.0 crashes on long runtimes.
28+
# https://github.com/fcsonline/drill/issues/216
29+
- run: drill --benchmark $FIXTURE --stats --timeout 4
30+
fixture:
31+
extname: yml
32+
content: |
33+
---
2734
28-
concurrency: 4
29-
base: 'http://pkgx.sh'
30-
iterations: 5
31-
rampup: 2
35+
concurrency: 4
36+
base: 'http://pkgx.sh'
37+
iterations: 5
38+
rampup: 2
3239
33-
plan:
34-
- name: Fetch root
35-
request:
36-
url: /
40+
plan:
41+
- name: Fetch root
42+
request:
43+
url: /

0 commit comments

Comments
 (0)