Skip to content

Commit 482bb22

Browse files
authored
Run benchmark e2e tests for a bit longer (#4312)
## Motivation Right now the tests start and run just for one second, which since we're doing a bunch of extra stuff now, it's not enough time. From the logs it seems like we're trying to kill things before some messages sent with `wait_for_outgoing_messages` (not coming from the benchmark specific code) actually get delivered. So it seems like we just wait forever in that case. ## Proposal Run the tests for slightly longer (5 seconds instead of 1), and that seems to prevent us from killing things too early. Might be a good follow up to see if blocking cross chain messages should timeout? ## Test Plan CI should pass now ## Release Plan - Nothing to do / These changes follow the usual release cycle.
1 parent 6d70909 commit 482bb22

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

linera-service/tests/local_net_tests.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -801,8 +801,8 @@ async fn test_end_to_end_benchmark(mut config: LocalNetConfig) -> Result<()> {
801801
.benchmark(BenchmarkCommand {
802802
num_chains: 2,
803803
transactions_per_block: 10,
804-
bps: 1,
805-
runtime_in_seconds: Some(1),
804+
bps: 2,
805+
runtime_in_seconds: Some(5),
806806
close_chains: true,
807807
..Default::default()
808808
})
@@ -831,8 +831,8 @@ async fn test_end_to_end_benchmark(mut config: LocalNetConfig) -> Result<()> {
831831
.benchmark(BenchmarkCommand {
832832
num_chains: 2,
833833
transactions_per_block: 10,
834-
bps: 1,
835-
runtime_in_seconds: Some(1),
834+
bps: 2,
835+
runtime_in_seconds: Some(5),
836836
fungible_application_id: Some(application_id.forget_abi()),
837837
close_chains: true,
838838
..Default::default()

0 commit comments

Comments
 (0)