Skip to content

Commit

Permalink
tweak timings
Browse files Browse the repository at this point in the history
  • Loading branch information
rukai committed Aug 18, 2024
1 parent 93006ad commit 74bdcef
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion shotover-proxy/tests/kafka_int_tests/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,7 @@ async fn cluster_sasl_scram_over_mtls_multi_shotover(#[case] driver: KafkaDriver
test_cases::standard_test_suite(&connection_builder).await;

// Wait 20s since we started the initial run to ensure that we hit the 15s token lifetime limit
tokio::time::sleep_until((instant + Duration::from_secs(20)).into()).await;
tokio::time::sleep_until((instant + Duration::from_secs(35)).into()).await;
test_cases::produce_consume_partitions1(
&connection_builder,
"d4f992d1-05c4-4252-b699-509102338519",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ sources:
certificate_path: "tests/test-configs/kafka/tls/certs/localhost.crt"
private_key_path: "tests/test-configs/kafka/tls/certs/localhost.key"
verify_hostname: true
delegation_token_lifetime_seconds: 15
delegation_token_lifetime_seconds: 30
connect_timeout_ms: 3000
tls:
certificate_authority_path: "tests/test-configs/kafka/tls/certs/localhost_CA.crt"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ sources:
certificate_path: "tests/test-configs/kafka/tls/certs/localhost.crt"
private_key_path: "tests/test-configs/kafka/tls/certs/localhost.key"
verify_hostname: true
delegation_token_lifetime_seconds: 15
delegation_token_lifetime_seconds: 30
connect_timeout_ms: 3000
tls:
certificate_authority_path: "tests/test-configs/kafka/tls/certs/localhost_CA.crt"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ sources:
certificate_path: "tests/test-configs/kafka/tls/certs/localhost.crt"
private_key_path: "tests/test-configs/kafka/tls/certs/localhost.key"
verify_hostname: true
delegation_token_lifetime_seconds: 15
delegation_token_lifetime_seconds: 30
connect_timeout_ms: 3000
tls:
certificate_authority_path: "tests/test-configs/kafka/tls/certs/localhost_CA.crt"
Expand Down

0 comments on commit 74bdcef

Please sign in to comment.