test(partition): less proptest discards
Generate non-empty strings as inputs to proptest tests instead of generating random strings and filtering.pull/24376/head
parent
e2a61c072d
commit
6a68b6edf0
|
@ -500,10 +500,8 @@ mod tests {
|
|||
#[test]
|
||||
fn partition_hash_id_representations(
|
||||
table_id in 0..i64::MAX,
|
||||
partition_key in any::<String>(),
|
||||
partition_key in ".+",
|
||||
) {
|
||||
prop_assume!(!partition_key.is_empty());
|
||||
|
||||
let table_id = TableId::new(table_id);
|
||||
let partition_key = PartitionKey::from(partition_key);
|
||||
|
||||
|
|
Loading…
Reference in New Issue