Reduce quic multi write test packets count (#27074)

* Reduce counts of packets to reduce time taken to send all of them

* Reduce count to 3000
This commit is contained in:
Lijun Wang 2022-08-12 11:11:25 -07:00 committed by GitHub
parent b3b57a0f07
commit cb16281736
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -93,7 +93,7 @@ mod tests {
// Send a full size packet with single byte writes.
let num_bytes = PACKET_DATA_SIZE;
let num_expected_packets: usize = 4000;
let num_expected_packets: usize = 3000;
let packets = vec![vec![0u8; PACKET_DATA_SIZE]; num_expected_packets];
assert!(client.send_wire_transaction_batch_async(packets).is_ok());
@ -138,7 +138,7 @@ mod tests {
// Send a full size packet with single byte writes.
let num_bytes = PACKET_DATA_SIZE;
let num_expected_packets: usize = 4000;
let num_expected_packets: usize = 3000;
let packets = vec![vec![0u8; PACKET_DATA_SIZE]; num_expected_packets];
assert!(client.send_wire_transaction_batch(&packets).await.is_ok());