Skip to content

Commit

Permalink
test: Increase download timeout in deny list test
Browse files Browse the repository at this point in the history
The test is slightly flaky, so let's increase the download
timeout a little bit.
  • Loading branch information
loewenheim committed Apr 26, 2024
1 parent b30b564 commit 121030f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/symbolicator-native/tests/integration/source_errors.rs
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ async fn test_deny_list() {
config.caches.derived.retry_misses_after = Some(Duration::ZERO);
// FIXME: `object_meta` caches treat download errors as `malformed`
config.caches.derived.retry_malformed_after = Some(Duration::ZERO);
config.max_download_timeout = Duration::from_millis(100);
config.max_download_timeout = Duration::from_millis(200);
config.deny_list_time_window = Duration::from_millis(500);
config.deny_list_bucket_size = Duration::from_millis(100);
config.deny_list_threshold = 2;
Expand Down Expand Up @@ -203,7 +203,7 @@ async fn test_deny_list() {
ObjectFileStatus::Timeout,
ObjectUseInfo::None,
ObjectDownloadInfo::Error {
details: "download timed out after 100ms".into()
details: "download timed out after 200ms".into()
}
)
);
Expand Down

0 comments on commit 121030f

Please sign in to comment.