Merge pull request #694 from ethcore/heaviaze-key-tests

mark some key tests as heavy
This commit is contained in:
Gav Wood 2016-03-13 11:52:00 +01:00
commit ead43eecd0
2 changed files with 3 additions and 0 deletions

View File

@ -161,6 +161,7 @@ mod tests {
} }
#[test] #[test]
#[cfg(feature="heavy-tests")]
fn can_decrypt_with_imported() { fn can_decrypt_with_imported() {
use keys::store::EncryptedHashMap; use keys::store::EncryptedHashMap;

View File

@ -369,6 +369,7 @@ mod vector_tests {
#[test] #[test]
#[cfg(feature="heavy-tests")]
fn mac_vector() { fn mac_vector() {
let password = "testpassword"; let password = "testpassword";
let salt = H256::from_str("ae3cd4e7013836a3df6bd7241b12db061dbe2c6785853cce422d148a624ce0bd").unwrap(); let salt = H256::from_str("ae3cd4e7013836a3df6bd7241b12db061dbe2c6785853cce422d148a624ce0bd").unwrap();
@ -470,6 +471,7 @@ mod tests {
} }
#[test] #[test]
#[cfg(feature="heavy-tests")]
fn can_get() { fn can_get() {
let temp = RandomTempPath::create_dir(); let temp = RandomTempPath::create_dir();
let key_id = { let key_id = {