Fix nightly

No longer ignore failures in the nightly build.
This commit is contained in:
Greg Fitzgerald 2018-06-19 09:37:28 -07:00 committed by Greg Fitzgerald
parent 4ecd2c9d0b
commit 1c97bf50b6
2 changed files with 3 additions and 5 deletions

View File

@ -6,8 +6,8 @@ steps:
- command: "ci/coverage.sh" - command: "ci/coverage.sh"
name: "coverage [public]" name: "coverage [public]"
timeout_in_minutes: 20 timeout_in_minutes: 20
- command: "ci/docker-run.sh rustlang/rust:nightly ci/test-nightly.sh || true" - command: "ci/docker-run.sh rustlang/rust:nightly ci/test-nightly.sh"
name: "nightly - FAILURES IGNORED [public]" name: "nightly [public]"
timeout_in_minutes: 20 timeout_in_minutes: 20
- command: "ci/docker-run.sh rust ci/test-ignored.sh" - command: "ci/docker-run.sh rust ci/test-ignored.sh"
name: "ignored [public]" name: "ignored [public]"

View File

@ -131,9 +131,7 @@ mod bench {
#[bench] #[bench]
fn bench_gen_keys(b: &mut Bencher) { fn bench_gen_keys(b: &mut Bencher) {
let mut seed = [0u8; 32]; let rnd = GenKeys::new([0u8; 32]);
seed[0..3].copy_from_slice(&[1, 2, 3, 4]);
let rnd = GenKeys::new(seed);
b.iter(|| rnd.gen_n_keypairs(1000)); b.iter(|| rnd.gen_n_keypairs(1000));
} }
} }