Exclude deadlocking test in thread-safe mode

This commit is contained in:
Michael Mueller 2019-06-19 16:55:08 +02:00
parent 99b0e03e4e
commit f111950cbd
No known key found for this signature in database
GPG Key ID: 95756F716F423159
1 changed files with 2 additions and 0 deletions

View File

@ -742,6 +742,8 @@ mod tests {
});
}
// this test works only in the non-thread-safe variant, it deadlocks otherwise.
#[cfg(not(feature = "threadsafe"))]
#[should_panic]
#[test]
fn zero_copy_panics_on_nested_access() {