mirror of
https://github.com/logos-messaging/logos-messaging-rust-bindings.git
synced 2026-01-03 14:33:06 +00:00
Make gossipsub conf test run by default
This commit is contained in:
parent
d2944893b5
commit
61a3f4b426
@ -185,10 +185,10 @@ pub struct GossipSubParams {
|
||||
/// Maximum number of IHAVE messages to accept from a peer within a heartbeat.
|
||||
#[serde(rename = "maxIHaveMessages")]
|
||||
pub max_ihave_messages: Option<i32>,
|
||||
#[serde(rename = "iwantFollowupTimeSeconds")]
|
||||
/// Time to wait for a message requested through IWANT following an IHAVE advertisement.
|
||||
/// If the message is not received within this window, a broken promise is declared and
|
||||
/// the router may apply bahavioural penalties.
|
||||
#[serde(rename = "iwantFollowupTimeSeconds")]
|
||||
pub iwant_followup_time_seconds: Option<i32>,
|
||||
}
|
||||
|
||||
|
||||
@ -249,10 +249,9 @@ async fn default_echo() -> Result<(), String> {
|
||||
Ok(())
|
||||
}
|
||||
|
||||
#[ignore]
|
||||
#[tokio::test]
|
||||
#[test]
|
||||
#[serial]
|
||||
async fn gossipsub_config() -> Result<(), String> {
|
||||
fn gossipsub_config() -> Result<(), String> {
|
||||
let params = GossipSubParams {
|
||||
d: Some(6),
|
||||
dlo: Some(3),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user