Skip to content

Commit 033251f

Browse files
committed
switch solana-dos to use quic too
1 parent d449dc0 commit 033251f

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

dos/src/main.rs

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1017,7 +1017,7 @@ pub mod test {
10171017
transaction_type: None,
10181018
num_instructions: None,
10191019
},
1020-
tpu_use_quic: false,
1020+
tpu_use_quic: true,
10211021
send_batch_size: TEST_SEND_BATCH_SIZE,
10221022
},
10231023
);
@@ -1045,7 +1045,7 @@ pub mod test {
10451045
transaction_type: None,
10461046
num_instructions: None,
10471047
},
1048-
tpu_use_quic: false,
1048+
tpu_use_quic: true,
10491049
send_batch_size: TEST_SEND_BATCH_SIZE,
10501050
},
10511051
);
@@ -1073,7 +1073,7 @@ pub mod test {
10731073
transaction_type: None,
10741074
num_instructions: None,
10751075
},
1076-
tpu_use_quic: false,
1076+
tpu_use_quic: true,
10771077
send_batch_size: TEST_SEND_BATCH_SIZE,
10781078
},
10791079
);
@@ -1247,11 +1247,6 @@ pub mod test {
12471247
);
12481248
}
12491249

1250-
#[test]
1251-
fn test_dos_with_blockhash_and_payer() {
1252-
run_dos_with_blockhash_and_payer(/*tpu_use_quic*/ false)
1253-
}
1254-
12551250
#[test]
12561251
fn test_dos_with_blockhash_and_payer_and_quic() {
12571252
run_dos_with_blockhash_and_payer(/*tpu_use_quic*/ true)

0 commit comments

Comments
 (0)