hubcio commented on code in PR #4193:
URL: https://github.com/apache/iggy/pull/4193#discussion_r4016259412
##########
core/integration/tests/server/specific.rs:
##########
@@ -20,33 +20,56 @@ use
crate::server::scenarios::{reconnect_after_restart_scenario, restart_offset_
use crate::server::scenarios::{
segment_rotation_race_scenario, tcp_tls_scenario, websocket_tls_scenario,
};
+use iggy::prelude::*;
+use integration::harness::TestHarness;
use integration::iggy_harness;
+use std::collections::HashSet;
+use std::time::Duration;
+use tokio::io::AsyncWriteExt;
+use tokio::net::TcpStream;
+
+const TLS_TEST_SHARDS: usize = 4;
+const TLS_TEST_CLIENTS: usize = TLS_TEST_SHARDS * 2;
+const TLS_CLEANUP_TIMEOUT: Duration = Duration::from_secs(10);
+const TLS_POLL_INTERVAL: Duration = Duration::from_millis(20);
#[iggy_harness(
test_client_transport = TcpTlsGenerated,
- server(tls = generated)
+ server(tls = generated, sharding.cpu_allocation = "0..4", logging.level =
"info")
Review Comment:
the local update removes the fixed CPU range and reads the server's shard
count from startup. the tests use the harness fallback and still check every
shard.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]