Fixing random test failures (#2577)

This commit is contained in:
Arkadiy Paronyan 2016-10-18 16:36:43 +02:00 committed by Gav Wood
parent 723eb164d1
commit ed804341bd
2 changed files with 3 additions and 2 deletions

View File

@ -164,7 +164,8 @@ mod test {
#[test] #[test]
fn should_create_new_account() { fn should_create_new_account() {
// given // given
let dir = env::temp_dir(); let mut dir = env::temp_dir();
dir.push("ethstore_should_create_new_account");
let keypair = Random.generate().unwrap(); let keypair = Random.generate().unwrap();
let password = "hello world"; let password = "hello world";
let directory = DiskDirectory::create(dir.clone()).unwrap(); let directory = DiskDirectory::create(dir.clone()).unwrap();

View File

@ -1,7 +1,7 @@
#!/bin/sh #!/bin/sh
# Running Parity Full Test Sute # Running Parity Full Test Sute
FEATURES="json-tests ipc" FEATURES="json-tests"
OPTIONS="--release" OPTIONS="--release"
case $1 in case $1 in