Fixing random test failures (#2577)
This commit is contained in:
parent
723eb164d1
commit
ed804341bd
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user